metafizzy / metafizzy/zdog

why do shapes vanish when on a box

Open
#108 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.7k
Forks
407
PR merge metrics
No merged PRs in 30d

Description

when I place a shape on a box it vanishes completely now and then when rotating

I know there is z-fighting which can be seen when a rectangle is on a rectangle but wouldn't expect it to vanish completely. Tried to do grouping to fix it but doesn't seem to make a difference.

see simple demo I created here, thanks.

https://codepen.io/coder787/pen/MWJbJQo

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodePen demo and reproduce the disappearing shape while rotating overlapping shapes. Trace the rendering behavior for shapes placed on boxes, then verify that the shape remains visible during rotation without introducing the reported z-fighting issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
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.