Logo
Logo copied to clipboard
Logo Implementation TODO
Below is a list of things that still need to be implemented into the parser for the logo language:
- [ ] circle >
circle radius extend steps
- [ ] dot >
dot radius
- [x] pensize >
pensize strokeSize
- [ ] pencolor >
pencolor color
- [ ] fillcolor >
fillcolor color
note: this is dealing with custom shapes which we currently don't support yet - [ ] fill >
fill true/false
note: uses fillcolor to fill the shape if true - [ ] begin_fill > start shape
- [ ] end_fill > end shape
- [ ] write >
write text
note: this writes to the canvas as text ex "hello world"
Things to implement in turtle to add more features:
- [ ] Dynamic stroke size so we can change it with pensize
- [ ] Ability to create shapes and ill them with a solid color
--
Note: In Logo color
sets both fillcolor
and pencolor
, this means we don't actually implement color
properly yet
Is this up to date?
Yes this is currently up to date, we still have things we need to implement that are in this list
Sent from my iPhone
On Nov 13, 2018, at 6:35 AM, Daniel Shiffman <[email protected]mailto:[email protected]> wrote:
Is this up to date?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/CodingTrain/Logo/issues/37#issuecomment-438287401, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABZ1YBvvwHldND2gf5fWga-NRq_hM4Eqks5uutiigaJpZM4YXtnT.
Circle mode center or corner`??
@Toyz Hi for #75 do you know where the circle
command is documented?
Looking in the Berkeley Logo Manual I can only find the ARC
command:
ARC angle radius
draws an arc of a circle, with the turtle at the center, with the
specified radius, starting at the turtle's heading and extending
clockwise through the specified angle. The turtle does not move.
Should we implement a circle
command because it's intuitive? or just support Berkeley Logo (which has only ARK
or both?
For color, should it be rgb, or should it be like this: command 51 (rgb: 51,51,51)
Circle could he a shortcut to arc
And we could change the color command to support rgb instead of having a colorrgb function
So we should replace the color command with colorRGB or just make it support both hex and RGB?