Logo icon indicating copy to clipboard operation
Logo copied to clipboard

Logo Implementation TODO

Open Toyz opened this issue 6 years ago • 8 comments

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

Toyz avatar Nov 10 '18 00:11 Toyz

Is this up to date?

shiffman avatar Nov 13 '18 14:11 shiffman

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.

Toyz avatar Nov 13 '18 15:11 Toyz

Circle mode center or corner`??

NiclasTheSquirrel avatar Dec 29 '18 15:12 NiclasTheSquirrel

@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?

TheTastefulToastie avatar Dec 29 '18 16:12 TheTastefulToastie

For color, should it be rgb, or should it be like this: command 51 (rgb: 51,51,51)

NiclasTheSquirrel avatar Dec 29 '18 18:12 NiclasTheSquirrel

Circle could he a shortcut to arc

Toyz avatar Dec 30 '18 08:12 Toyz

And we could change the color command to support rgb instead of having a colorrgb function

Toyz avatar Dec 30 '18 08:12 Toyz

So we should replace the color command with colorRGB or just make it support both hex and RGB?

NiclasTheSquirrel avatar Dec 30 '18 09:12 NiclasTheSquirrel