tofu
TemplatesPricingDocsUse your AI tool
Start free
  1. Templates
  2. Learning and kids
  3. CircuitJS1

CircuitJS1

Electronics simulator

Watch current flow like little dots of light through the circuit you build.

Make it mineTry it (opens the authors’ own copy in a new tab)

“Make it mine” asks you to sign in first. On the Free plan, your copy is your one app; you can delete it any time.
“Try it” opens the authors’ own copy, not yours.

CircuitJS1
Made by
pfalstad
Licence
GPL-2.0-or-later
Popularity
2.4k stars on GitHub
Uses
Your browser

What you can do

  • Drag parts onto the page and wire them together
  • See voltage waves on a built-in oscilloscope
  • Pick one of hundreds of example circuits and change it

Who it’s forPhysics and electronics students, teachers and hobbyists

Once it’s yours

  • Your own copy, at its own address
  • Anyone with its address can open it, until you choose who can
  • Change it with your own coding agent

Ideas for changing it

Once it’s live, give any line below to your coding agent.

  • Open with the circuit from today's lesson

  • Slow the current dots down so students can follow them

  • Switch to a white background so it's clearer on a projector

Source and licence

CircuitJS1 is open source: its authors, pfalstad, published the code for anyone to use and change.

Its licence, GPL-2.0-or-later, lets you use and change it for free; when other people use your changed version, you share your changed code with them.

Your copy is the version you copied; the authors’ later updates don’t arrive by themselves.

This version on TofuThe authors’ original code

More like this

All templates
  • LOOPYCause and effect simulatorPress play and watch a change snowball or settle down.
  • Branching puzzles for GitVersion control playgroundClear levels on a live diagram and learn to branch and merge in Git.
  • Snap!Block programming languageDrag blocks together to make animations and games, with no code to type.
tofu

Describe an app, or bring one from your agent. Tofu puts it online.

Works with any coding agent

Product

  • Features
  • Pricing
  • Security
  • Agent & CLI

Resources

  • Docs
  • Guides
  • Blog
  • Deploy an app
  • Connect your agent
  • Database
  • Sign-in & email
  • Domains
  • Payments
  • For AI agents

Compare

  • All comparisons
  • Tofu vs. setting it up yourself
  • Ways to put an AI-built app online

Company

  • About
  • Contact

Legal

  • Terms
  • Privacy
  • Domain terms

© 2026 Tofu

trytofu.ai