Halftone algorithm with varying size dots

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Posts: 4
Joined: 2018-11-19T04:11:01-07:00
Authentication code: 1152

Halftone algorithm with varying size dots

Post by owo »

So I have looked all over this forum/stackoverflow/etc and the best IM halftone filter I found was this one:


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


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?