scverse / scverse/napari-spatialdata
Shapes performance
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 90
- Forks
- 25
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
One way we may be able to get a quick improvement on rendering many shapes at once is by not having a face displayed for each shape. Not certain whether when setting face color to a transparent color it would prevent napari to render the face of a shape, but this is worth investigating.
The speed of the lasso tool was vastly improved by not rendering the face when drawing.
Contributor guide
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 by tracing how shape faces are rendered and compare that behavior with the lasso tool, which already avoids rendering the face while drawing. Investigate whether transparent face colors suppress rendering, then verify the effect on rendering performance for many shapes without changing visible behavior unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100