Show HN: Programming with Escher
mapio.github.io
mapio.github.io
I was instantly thrown back to my time watching this series and doing the exercises, which I highly recommend to anyone.
The reverse would be to look at every sample you have and decides its colors based on the line information (the two points) with basic geometric calculus (distance of a point to a line). Applying anti-aliasing / thicks borders is more easy in this way also.
The reverse is called Backward Drawing / Mapping, and is fit for GPU programming and others uses. Some problems are only defined for one kind of drawing and it's difficult to transform it to the other kind. It's like finding the inverse function of a mathematical function, hard.
The term is mainly used for image interpolation and GPU textures. I prefer to say "drawing" because the notion can be extended to anything you want to visualise.
On the internet you can find a lot of visualization by forward drawing on a canvas. But recently there's more and more backward drawing with GPU and shaders (goto https://www.shadertoy.com/ for a lot of examples)
Heh, was that intentional? X-)
> to obtain the desider result
Awesome post!
Should be fixed now https://github.com/mapio/programming-with-escher/commit/1f04...