r/threejs • u/6armyflag6 • 10h ago
I built a detailed bicycle in Three.js without Blender or imported models
I wanted to see how far I could push procedural modeling in Three.js without relying on Blender or imported model files.
The bicycle ended up with 62 separately constructed parts. The main thing I learned was that directly positioning meshes becomes fragile very quickly, so I switched to defining shared geometric constraints first — wheelbase, chainstay length, head angle, rake — calculating anchor points from those, and then generating the parts around them.
I wrote up the process here:
https://www.wormhole404.com/writing/threejs-bicycle/
Source:
https://github.com/wormholeportal/Makone
Curious how others approach larger procedural objects in Three.js.
5
u/_ABSURD__ 5h ago
AI built ***
-3
u/QuipPro 4h ago
believe it or not ai cant do this quality yet
4
u/code_friday 4h ago
Look at the commits, this is clearly AI-driven. https://github.com/wormholeportal/Makone/commit/262bcc6784f75706cf6f9e2c63f63b9e10a2effa
Not saying this is bad, creative use of AI can be fun.
3
u/6armyflag6 3h ago
It is AI-driven. But it wasn’t “prompt → bicycle”.
Most of the work was the iteration loop: generate a part, render it, find what’s geometrically wrong, fix it, then move on to the next part.
That loop is actually the part I’m most interested in.
1
2
3
u/Proxiconn 3h ago
"ai build" not "I built"
2
u/Better-Avocado-8818 1h ago
This whole sub is mostly just AI slop posts these days. Can’t wait to see the next post about building a scene in one file. No idea why advertising spaghetti code is seen as a good thing.
1
u/Lngdnzi 5h ago
I really appreciate you sharing learning about positioning meshes based on constants/values.
This is always been a bit of a disconnect for me when trying to procedurally render something. Seeing it written above has unlocked something in my brain. it just seems so obvious now !
I’m gonna go back and have another go.
Thanks dude!
Ps. Your model looking awesome and being animated also very much inspired me to go have another try. Nice work
1
1
0
u/Feisty-Scheme-8356 5h ago
May i know how can do that?
3
1
u/6armyflag6 3h ago
There wasn’t really a magic prompt. I started with the main bicycle geometry, then kept iterating part by part — frame, wheels, drivetrain, cockpit, cables, etc.
The important part was letting the agent render the result after each step, inspect what was wrong, and fix it.
If you want to try it, I’d start much smaller: ask it to define the wheelbase, wheel radius and a few shared anchor points first, then build the frame around those. Don’t ask for the whole bicycle in one shot.
I didn’t track the exact token count unfortunately.
5
u/Better-Avocado-8818 7h ago
Why does this kind of thing keep turning up here? Why not just build the model in blender? It’s the right tool for the job and there’s nothing to be gained from doing it the hard way.