Ben

Results 35 comments of Ben

@bgmort thanks for finding and fixing! There's a lot of corners I cut, particularly with parsing, that I look back on now and wonder what I was thinking. I've merged...

Achieving this effect is certainly possible with warp.js, but it'll require a bit of math and some knowledge of texture rendering in 2/3D graphics. What you'd want to do is...

A bit of digging and I found [this paper](https://www.in.tu-clausthal.de/fileadmin/homes/techreports/ifi0505hormann.pdf) on generalised Barycentric coordinates, which I think would be a better method. It also looks like the method used in Illustrator's...

That's all good, I don't expect anyone to be able to, I'm just leaving this here for reference for myself when I get around to tackling the problem. I think...

After much research, it seems like this is a feature that's disappointingly exclusive to Illustrator. Good news is I know roughly how they've implemented it, but it's quite mathematically complex...

Success! I have [created a proof of concept](https://codepen.io/benjamminf/pen/6f57fc5490bb0e94110ec02eb05c2d84) that works surprisingly well! Things to note: - I don't believe this is a perfect implementation that matches Illustrator. It's possible that...

Thanks for the detailed information and screenshots, it's really handy. From what I can see, the presets are like pre-made custom shapes, but some use a mesh for inner points...

That's cool! That magnitude variable wasn't necessary, I just had it there to make the code a bit cleaner.

@razvanphp @natew I completely missed this back in Feb... GitHub no longer puts issue updates in my feed 👎so I miss them. The fisheye or bulge effect you're after is...

@jboarman unfortunately these days I have no time outside of my full time job :( > I'm looking for a solution that works with a bounding SVG as the "fitting"...