Record Stroke Pressure
Open
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 184
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to record the stroke pressure of the designer, currently every line has the same thickness.
` const int t = ceil(0.5 * thickness);`
https://github.com/google/monster-mash/blob/6467b2e4f183738128fea4d713c44f5de863f76e/src/mypainter.cpp#L109
What would be the best way to approach this task? C++ or .js?
Contributor guide
Research direction
Start in src/mypainter.cpp around line 109, then trace the drawing input path to determine where designer stroke pressure can be accessed. Implement pressure-sensitive stroke thickness and verify that lines no longer all use the same thickness.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100