Hacker News new | ask | show | jobs
by gedy 3308 days ago
Really awesome effect! If author is here, would love to hear more about the 'deformation function' mention - is it a fractal height-map type approach that splits each line of polygon and deflects?
1 comments

Author here. Thank you! Yes, I think you have the basic gist of it. Split each line, then move an endpoint. There's nothing too complicated about the algorithm, the trick is really around fine tuning all of the possible parameters. If it's not obvious, my approach is purely going after aesthetic effects.
Thank you, this is great, I may try this approach out for a personal painting app I've been toying with