Shape clipping is very inconsistent
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.2k
- Forks
- 272
- PR merge metrics
- No merged PRs in 30d
Description
Here's a shape:

Here's that shape at heading = 0, size = 1:

Here's that shape at heading = 45, size = 1:

Here's that shape at heading = 0, size = 1.1:

Here's that shape at heading = 0, size = 2:

Here's that shape at heading = 0, size = 3:

Here's the code for that model: https://gist.github.com/qiemem/7aa5a011922280897fad
Here's the code where at least some of the clipping occurs: https://github.com/NetLogo/NetLogo/blob/d719f06cbb80e58e57341d38141b1c28d8412bbd/src/main/org/nlogo/render/TurtleShapeManager.java#L166
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/main/org/nlogo/render/TurtleShapeManager.java around line 166, where the issue identifies clipping, and use the linked model code to reproduce the reported heading and size combinations. Compare the rendered shapes with the attached examples and determine the expected clipping behavior for each case. Done means clipping is consistent across the listed headings and sizes, with regression coverage if the existing test structure supports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100