CodingTrain / CodingTrain/Logo
Logo Implementation TODO
- Dominant language
- JavaScript
- Stars
- 47
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Research direction
Start by locating the JavaScript parser and turtle/canvas entry points, using the existing pensize implementation as a reference. Separate the unchecked parser commands from the turtle shape and fill work, then verify the selected command changes the canvas as described; the issue is complete only when its corresponding checklist behavior works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100