Better HN
topnewbestaskshowjobs
Log inSign up

olpyhn

6 karma · joined Oct 25, 2021 (5y ago) · 4 submissions

I specialize in android development, building performant apps using Kotlin, OpenGL, Compose and other fancy technologies.

Also, I know a thing or two about machine learning, algorithms, and people management.

Currently, I work at WhatsApp.

Submissions

comment 1y ago · link · parent

Interesting, will try it out. Thank you!

Tbh, I tried several different functions, but nothing worked better than inverse quadric function. Though, I'm not sure if I tried anything without decay

2.

Show HN: GradientForge - mesh gradients generator website and Figma plugin(pkolesnikov.com ↗)

2 points · by olpyhn · 1y ago · discuss

comment 1y ago · link · parent

Mesh gradients are a powerful way to create smooth, organic color transitions. Traditional techniques like spline-based interpolation or multiple overlapping radial gradients can be effective—but they also come with trade-offs: visual artifacts, complexity, or the need for structured meshes.

In this article, I’ll show you how to use Radial Basis Function (RBF) interpolation to generate seamless gradients from just a set of colored points. This approach is portable, flexible, and simple to implement.

4.

How to render a mesh gradient using RBF interpolation(notion.so ↗)

17 points · by olpyhn · 1y ago · 4 comments