Lurker News
Back to discussion

Comment by magicalhippo

magicalhippo2 replies#
Not being a frontend dev, I have no idea how to even start making something like that.

Are there some frameworks that make interactive simulations like that easier to make, or do you just do it the hard way?

interactivecode#
The "hard" way is often the simple way with these sort of things. What makes it easier is while building out your code, you make little pieces of UI to visualize what you're doing. Think of them like unit tests or test driven development. Then you can take those, clean them up a little and publish them.
jasonjmcghee2 replies#
p5.js is a great medium. I did a short series in this style - you can inspect it to see full source (non minified / obfuscated) with some comments here and there.

https://jason.today/falling-sand

rustystump1 reply#
This is an amazing series. Love the style and incremental examples.
jasonjmcghee#
Wow thank you!
magicalhippo#
Excellent, that does look quite approachable indeed. Thanks!