January 31, 2023 at 3:57 AM
My "distance image" function is working now. The function uses the image package from #golang standard library to produce an image where each pixel's luminance is based on its distance from the center.
Here's the codes far - https://github.com/go-micah/imaging/blob/main/imaging.go#L11

#golang
♥ 0↑ 0↩ 0
View on Mastodon →