Well, on the one hand, it's "just" nested linear interpolation with some control points, and traditionally, interpolation falls under mathematics. On the other, the wiki page mentions computer contexts first[0].
I think most of us would agree that there is a fuzzy boundary between mathematics and algorithms, or even that the latter is a subset of the former. Bresenham's Line Algorithm[1] is an algorithm, but it can also be interpreted as a kind of mathematics to determine points on a grid based on a path through that grid. More importantly though: yes, it is a very useful and simple tool in many contexts. [0] https://en.wikipedia.org/wiki/B%C3%A9zier_curve [1] https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
I like Fortune's algorithm for Voronoi regions. Especially if it is being visualized - watching the beach line sweep through and the polygon regions form is kind of hypnotic.
I also have spent way too much time trying to get an implementation of it right, so there's a little stockholm syndrome.
Comments (491) 209 threads
Earlier commentsI think most of us would agree that there is a fuzzy boundary between mathematics and algorithms, or even that the latter is a subset of the former. Bresenham's Line Algorithm[1] is an algorithm, but it can also be interpreted as a kind of mathematics to determine points on a grid based on a path through that grid.
More importantly though: yes, it is a very useful and simple tool in many contexts.
[0] https://en.wikipedia.org/wiki/B%C3%A9zier_curve
[1] https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dither...
It can simulate color transitions with fewer colours by using a simple error diffusion algorithm.
https://automorph.wordpress.com/2012/06/20/eulers-analytic-p...
I also have spent way too much time trying to get an implementation of it right, so there's a little stockholm syndrome.
All comments shown.
Couldn't load more comments. Check your connection and try again.