3 ms·
Ask HN: How does software smooth lines?
Photoshop and other digital paint apps have a “smoothing” option that causes lines drawn to be curvier. What’s the math of it?
- gus_massa 6y agoI'm not an specialist, but you can start with https://en.wikipedia.org/wiki/Spatial_anti-aliasing https://en.wikipedia.org/wiki/Spatial_anti-aliasing
- billconan 6y agoyou can read https://en.wikipedia.org/wiki/B-spline https://en.wikipedia.org/wiki/B-spline most of them simply use a lasso method.