Proposal: multiple turtles
bojidar-bg opened this issue Β· comments
Bojidar Marinov commented
Sometimes it is fun to have multiple turtles draw on the screen. Especially when you feel like watching a turtle race π .
It would be nice to support some of the commands from, e.g., FMS logo:
- SETTURTLE
n
[ownPenSettings]
- chooses which turtle should be running. Might have an optional parameter for whether the turtle should share its pen settings - TURTLE - returns the index of the current turtle
- HASOWNPENP - returns whether the turtle has separate pen settings
- TURTLES - returns the maximal index passed to setturtle since clearscreen. Effectively a count of how many turtles are in use
BITMAPTURTLE- makes the turtle stamp a bitmap, should be likely ignored for now.NOBITMAPTURTLE- disables bitmapturtle, should be likely ignored for now.SETTURTLEMODE- sets some drawing mode for the bitmap, such as XOR, should be likely ignored for now.mode
TURTLEMODE- getter for setturtlemode, should be likely ignored for now.- ASK
n
instructions
- runsinstructions
as turtlen
Joshua Bell commented
Sounds like a good addition!
Hopefully you're thinking of implementing it since I won't get to it soon. If so, I really appreciate the proposal first. Happy to review changes.
Bojidar Marinov commented
Had a busy weeks month (because of fosdem and other things), and I would try doing something about it this or the next week π