29 comments

[ 1.1 ms ] story [ 171 ms ] thread
Is this made with Blockly ( https://developers.google.com/blockly/ ) or a copy of it? There's already many sites using blockly to learn to code, the example linked looks much like a copy of Google's Maze example https://blockly-games.appspot.com/maze?lang=en
I thought of http://pencil-code.nordita.org (large scale academic finite-difference solver for magnetohydrodynamics, applications for solar dynamics, supernovas etc)

(no affiliation, I just work in a related area)

Pretty awesome, you can write functions, use variables, etc... This is how I always wanted Scratch to be, thanks.
> Learn professional programming languages using an editor that lets you work in either blocks or text.

I was hoping this would be a visual editor for existing mainstream languages (Python, JS, PHP, C#, etc.). Sadly it isn't, but this makes me want to make one.

Thanks OP!

That is flipping sweet! Ahh man, takes me back to 1982 sitting in from of an Apple II in 2nd grade fiddling with turtle. Shudders... Ugh, so old. Makes me want to abandon using these new fangled 3D Animation FX softwares and make some green lines and purple circles, drink some Ovaltine, eat some cookies and have a nap.

Sorry, had all the nostalgia there.

This must be memory triggerings too, right?

Making glowing green lines and purple circles is harder than it used to be, because that combination of hardware isn't popular[0]. It might not be that hard to use an old monitor, but it was easier in 92.

[0] https://news.ycombinator.com/item?id=7066657

Ahaha, noice1, never thought to take it that far. Seems like there's most probably a web page out there that will do glowing green terminal emulation of some sort. Nothing's going to fit me in my old aquaman under-roos though, lol!
This is really cool.

One suggestion -- expand the function names! It took me a little bit to figure out that "fd" was "forward" and "rt" was "right."

It doesn't seem like that much more time to type out "forward" than "fd" -- especially if you're just clicking on function names -- and it'd go a long way in making the code more approachable and readable.

I like these types of projects. Easy to use and easy to get kids into basic coding. Would be a great piece to use in schools for an upcoming "Day of Code".
It's super good for beginners, especially for kids!
(comment deleted)
Pencil code = Droplet + LOGO.
Logo Writer and Turtle Graphics! Definitely brings back memories. This is great for early beginners and children. This makes me wonder about what we could create that's similar to this, but for more robust work for adults.
This looks amazing, and pretty sure I'll be using it with my students.

Would be nice if it supported Python, as that's our preferred language, but JS will do.

You will be happy to know that the author is interested in adding Python support and has listed it as a potential GSoC project (http://ideas.pencilcode.net/).
I couldn't really help myself ... whenever I see any sort of "turtle graphics" engine, I have to re-write my favorite line-art program:

http://doctorfractal.pencilcode.net/edit/mystery_one

Sadly, that halts only a tiny way into the drawing when "speed Infinity" is set, and even at "speed 1000" the turtle still seems to run pretty slow (at least it finishes the whole drawing that way).

To anyone who can't see output: adjust the "origin" by changing the first jumpxy block to (-50,-50)