2 ms·
One day I'll write about my 1-liner physics engine... let gravity = setInterval( _ => { if (projectile.object3D.position.y > 0) projectile.object3D.positio
by utopiah 5mo ago
One day I'll write about my 1-liner physics engine...
let gravity = setInterval( _ => { if (projectile.object3D.position.y > 0) projectile.object3D.position.y \*= .99 }, 100)
Jokes aside I find that providing ridiculously short toy examples that provide the very limited foundation of a concept are extremely empowering in pedagogy. You "get" it right away because it "fits" in your mind, then you dare tinker with it and quickly see how limited it is, then get excited again. It's a powerful trick to learn more IMHO.
- DevarshRanpara 5mo agoYeah, I will try to make more of these, I like to lean things from core, and I like to keep everything as simple as possible.