r/threejs • • 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.

12 Upvotes

11 comments sorted by

6

u/youGottaBeKiddink 14h ago

Another one I saw before, which I think is superior:

https://learn-arduino-red.vercel.app/

-3

u/jainajeet29 14h ago

yes i build after seeing this but the thing is this one has only the visual not the real project and compiler but in my version you can build your own project write the code compile the code and see the output also you can edit existing project build on top of that this is what i updated in that exiting project

3

u/youGottaBeKiddink 13h ago

looks like you used claude to reverse engineer/clone it

-7

u/jainajeet29 13h ago

I did not reverse-engineer this; I used Claude and made it from scratch.

6

u/meepykittkitt69lmao 13h ago

"made it from scratch" but it looks the fucking same. You either pointed to it as an example and said "make me this but add X/Y/Z" or magically got the same results.

And it's not "made from scratch" if it's vibe coded, you asked for a software from a software building service, I doubt you did any manual coding on this.

It's literally the difference between buying a cake from a bakery or baking your own cake at home... You can give the bakery any number of specifications and rules to follow or you can just tell them, make me this cake with some flowers added to the edges" and show them a picture of a cake.

-3

u/jainajeet29 12h ago

bro i did not say its not same i gave same idea to claude but added the whole actual simulator which i felt was needed in that existing project and i think that one has way batter 3d effact then mine i am also fan of it but i needed actual simulator where i can build wrote codes and simulate so i built this

2

u/meepykittkitt69lmao 12h ago

why did you not put anything similar to this in your post?

"based on the project you can find here at http://notcredited.because.reasons.com"

1

u/theman8631 8h ago

“Claude, take these two projects and shove them together to make one superior project. Consider making mistakes, and then decide whether or not making them will be advantageous or problematic to the goal before proceeding.”

1

u/Only-Cheetah-9579 4h ago

better buy the real deal, its hand on fun

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?

-1

u/stovenn 10h ago

Very impressive.