TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How does software smooth lines?

2 pointsby theterriblestidabout 5 years ago
Photoshop and other digital paint apps have a “smoothing” option that causes lines drawn to be curvier. What’s the math of it?

2 comments

gus_massaabout 5 years ago
I&#x27;m not an specialist, but you can start with <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Spatial_anti-aliasing" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Spatial_anti-aliasing</a>
billconanabout 5 years ago
you can read <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;B-spline" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;B-spline</a><p>most of them simply use a lasso method.