metafizzy / metafizzy/zdog

Hemisphere, Cylinder, and Cone wedge shapes

Open
#3 5 comments 25 reactions 0 assignees View on GitHub
feature request
Dominant language
JavaScript
Stars
10.7k
Forks
407
PR merge metrics
No merged PRs in 30d

Description

Currently composite shapes like `Hemisphere`, `Cylinder`, and `Cone` can only be rendered with fully circular bases. There is no easy way to render a quarter-sphere or half-cone.

One solution may be to add a `quarters` option, similar to `Ellipse`. For example, `quarters: 2` would render a half-cone.

**Add a 👍 reaction** to this issue if you would like to see this feature added. Do not add +1 comments — [They will be deleted](https://metafizzy.co/blog/use-github-reactions-delete-plus-1-comments/).

Contributor guide

Open the contributing guide

Research direction

Start by locating the Hemisphere, Cylinder, Cone, and Ellipse shape implementations and tracing how their bases are rendered. Determine how a quarters option would apply to each composite shape, then verify that quarter and half shapes render as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.