https://bugs.kde.org/show_bug.cgi?id=524605
Bug ID: 524605
Summary: Add geometric drawing commands to TurtleScript
Classification: Applications
Product: kturtle
Version First unspecified
Reported In:
Platform: Other
OS: All
Status: REPORTED
Keywords: catreloaded-2026
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Currently, KTurtle only supports low-level, step-by-step movements (`forward`,
`backward`, `turnleft`, `turnright`). There is no direct way to draw common
geometric shapes. Users have to construct them manually using loops, which is
good for beginners to learn the underlying logic and concepts like loops, but
can become repetitive and annoying once they just want to draw the shape.
Solution:
Add drawing commands to TurtleScript:
- `ellipse <width>, <height>`
- `rectangle <width>, <height>`
- `triangle <size>`
- `star <size>`
**Example Usage:**
```
reset
ellipse 80, 100
star 50
go 40, 40
rectangle 80, 50
go 280, 40
rect 80, 50
go 200, 320
triangle 60
```
Where to Start:
Check how existing commands like `forward`, `turnleft` are implemented.
--
You are receiving this mail because:
You are watching all bug changes.