Skip to content

Drawing defaults. - #310

Open
tychedelia wants to merge 1 commit into
mainfrom
drawing-defaults
Open

tychedelia wants to merge 1 commit into
mainfrom
drawing-defaults

Conversation

@tychedelia

@tychedelia tychedelia commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

A handful of small fixes to drawing defaults so that sketches ported from Processing look right without extra setup.

  • arc with no mode fills as a pie and strokes only the curve.
  • stroke joins default to miter.
  • an arc whose stop angle is before start wraps around (p5 behavior)
  • rotating around a zer-length axis is a noop.
  • fill stroke and tint colors are clamped. we may need to change this again in the future to support stuff like emissives but is the status quo default for now.

@tychedelia
tychedelia marked this pull request as ready for review December 1, 2026 20:50
@tychedelia
tychedelia requested a review from catilac December 1, 2026 20:50

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant