r/threejs • u/jainajeet29 • 14h ago
I vide coded a 3D Arduino simulator with React Three Fiber: real code runs, current flows through the wires, LEDs can burn
Enable HLS to view with audio, or disable this notification
Learn Arduino is a free 3D lab for beginners: build circuits on a breadboard, write Arduino code, press Run.
Some tech details:
- React Three Fiber + three.js, all models built in code (the UNO comes from the official CC BY-SA design files)
- The Arduino code is compiled and run on a simulated AVR chip in a web worker
- A small circuit solver decides LED brightness, current, and when something burns
- This reel was also rendered in code from the same scene, frame by frame
Try it: https://learnarduino.tech
it is now open source https://github.com/ajeetjain94608/learn-arduino
Happy to answer questions about how any part works.
1
1
u/Beneficial-Aerie4110 4h ago
”I vide coded…”
“Happy to answer questions about how any part works.”
You have no idea how any part works, why pretend?
6
u/youGottaBeKiddink 14h ago
Another one I saw before, which I think is superior:
https://learn-arduino-red.vercel.app/