Page 1 of 1

Halftone algorithm with varying size dots

Posted: 2018-11-21T02:56:16-07:00
by owo
So I have looked all over this forum/stackoverflow/etc and the best IM halftone filter I found was this one:

viewtopic.php?t=18409

The main issue being that it isn't using dots with varying sizes. Then I found this:

http://evanw.github.io/webgl-filter/

Which is open source but done in WebGL, which seems to be done using screens with varying dot sizes, but without the varying angles of screens. The code for it:

https://github.com/evanw/glfx.js/blob/m ... alftone.js

https://github.com/evanw/glfx.js/blob/m ... /shader.js

It seems like if we could use this screen but with the correct angles this would be a true halftone filter. How would this be implemented in an IM command?