evanw / glfx.js

An image effects library for JavaScript using WebGL
https://evanw.github.io/glfx.js/
MIT License
3.26k stars 402 forks source link

bulgePinch in JavaScript #37

Closed akinuri closed 6 years ago

akinuri commented 7 years ago

Can someone write a basic JS version of the bulgePinch? What I really need is just the pinch effect. I have no WebGL knowledge, so I can't write it on my own.

I've also looked at the source code of Gimp for the same effect, but again, I have no C knowledge.

akinuri/canvas-pinch

malipetek commented 7 years ago

I was looking around to extract that part also. This is also promising but bulge pinch is so smooth.

akinuri commented 6 years ago

I, now, know how this works. See Pinch/pucker an image in canvas.