CodingTrain / CodingTrain/Logo

Logo Implementation TODO

Offen
#37 8 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
47
Forks
33
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.