Show HN: Toodle.Studio is an art playground with Lisp and turtles
toodle.studio
toodle.studio
# Your program will be compiled as you
# type, but it will not start running
# until you press cmd-enter or
# ctrl-enter, depending on how much
# your computer cost.
How cute;-)...Introducing a powerful language like scheme, having a graphical output and planting the idea that students should hunt around for ways to integrate with or otherwise poke at existing applications is smart.
What a cool project, thanks so much for putting it together.
edit: just changing the values on the canvas tag in inspect element worked!
Try to run it in Emacs Lisp.
Thus it makes sense to mention in what actual programming language it is written in.
So the top-level comment made me think "cool I should return to Lisp and hack something fun together" and the reply made me think "ah lispers can be tribal and petty towards newbies". It's fair enough if that's true - I don't know what value me individually doodling a few things can bring to a community overall.
Give the actual language, here used, some credit, instead of trying to needlessly advertize Lisp.
It's not wrong to say that something written in a Lisp is written "in Lisp". It's less than maximally precise, but people who are interested in Lisp will understand that "which Lisp?" is a question of import here. People who are not yet interested in Lisp, on the other hand, could well see this sort of pettifogging by someone clearly invested in it as a reason to avoid becoming more so.
I think that'd be a shame, because learning to understand the concepts that underpin Lisps has informed my approach to my work, even in other languages, and just generally made me a better programmer; I think it's good for just about anyone to have that experience in some degree. So I think it's worth not representing the language family or the community around it in ways that make it less likely more people will decide to take an interest.
Besides, Lisp can be a lot of fun! As indeed it is here. So, y'know. Maybe it's worth being less concerned over how people talk about it, and more glad they find it worth the time to talk about at all.
> So I think it's worth not representing the language family or the community around it in ways that make it less likely more people will decide to take an interest.
People are not dumb. Tell them what it is, not a marketing label.
Sorry for the ignorance, but how you run Janet on the browser?
Embedding Janet in the browser is hard! My real motivation for making this website was to have a simple example to point to of how to do it. Short answer: Emscripten + WebAssembly. Long answer: https://github.com/ianthehenry/toodle.studio
Specifically I think these are the interesting bits:
https://github.com/ianthehenry/toodle.studio/blob/master/bui... https://github.com/ianthehenry/toodle.studio/blob/master/src...
I'll steal some of the ideas for my lambda.quest if you don't mind :)