FD 100
susam.in
susam.in
I'm sure lots of other kids did the same thing; kind of a fun way to sneak into writing programs - a low barrier to entry, and immediate results you could tinker with.
Is there something popular like this today?
Years later, when I was 26, I got to use Logo again! I wanted to draw a time-proportional train map of Taiwan. The distance between each point on the map corresponds to the time it takes a local train to travel that far. It made more sense to do that in Logo than in any other language. So I rewrote a basic Logo implementation in JavaScript and called it TurtleSheet :)
http://peterburk.github.io/tra/
I hope that some teachers will see the potential of empowering kids, by giving them real-world data like public transport times, and getting some real designs out. If I saw something drawn by a 9 year old here on Hacker News, I'd definitely upvote it. (I don't support it as child labour, but if they like Logo and want to do something useful with it, that's one idea)
Turtle drawing is arguably the most non-functional, stateful programming paradigm ever invented.
https://www.iquilezles.org/www/articles/distfunctions/distfu... compose a few of these together and you can manifest some pretty nuts infinity fractals.
Here's a video I made playing with the functions Inigo's provided. https://twitter.com/LeapJosh/status/1439876813258256385
If I wanted to have a brick wall I could progressively melt with a large laser, I'd render it with an SDF. SDFs are good for anything with volume, as mesh based rendering is intrinsically 'hollow'.
It's not the only solution for things like that, there's also voxel and particle based rendering, as well as reasonable hybrids. It's just another tool in the toolbox.