Erratic Turtle Graphics
Try it online @ catseye.tc | See also: Maze Clouds ∘ Latcarf ∘ Kolakoski Kurve
This is a gewgaw that I prototyped sometime in (I believe) 2018. I don't remember when I had the original idea, but I think it was not long before that.
And that idea is: turtle graphics, except there's a small margin of error. You might ask for "Turn right 90 degrees" but you might get only "Turn right 89.91 degrees".
If you use a faint pen, and repeat the drawing instructions many times over, you get a nice pencilly noisy effect.
In late 2019 I added a rudimentary command language similar to Logo, for user-created designs. The commands are:
fd NUM move forward this many pixels
rt NUM rotate right this many degrees
lt NUM rotate left this many degrees
setxyr NUM NUM set the coordinates, as a percentage of the
width and height of the canvas
shiftxyr NUM NUM adjust the coordinates, as a percentage of the
width and height of the canvas
seterr NUM NUM set the error rate for rotations and
movements respectively
shifterr NUM NUM adjust the error rate for rotations and
movements respectively
Commit History
@0.1-2024.1220
git clone https://git.catseye.tc/Erratic-Turtle-Graphics/
- Arrange licensing info in repo according to REUSE 3.2 convention. Chris Pressey a day ago
- Update links in "see-also bar". Chris Pressey 1 year, 1 month ago
- Properly update the `programTextarea`. Chris Pressey 2 years ago
- Add Kolakoski Kurve to see-also bar. Chris Pressey (commit: GitHub) 2 years ago
- Put the canvas in a scrollable viewport so it looks nicer on mobile. Chris Pressey 4 years ago
- Upgrade the version of DAM used in the demo to version 0.2. Chris Pressey 4 years ago
- Better links. Chris Pressey 4 years ago
- See-also other similar gewgaws. Chris Pressey 4 years ago
- Link to online installation. Chris Pressey 5 years ago
- Add screenshot and document the command language. Chris Pressey 5 years ago