News for hackers. Stuff that matters.
Re:Drawing better-looking Bézier curves by dhotson on Tuesday February 13, 2018 @07:32AM (#16366618)
Hello :) I'm the author of this notebook if you have any questions.

I'm also currently working on a plugin for Adobe Illustrator based on this. Screenshot: https://i.imgur.com/tIPTjLsr.png

Re:Drawing better-looking Bézier curves by ablaba on Tuesday February 13, 2018 @12:47PM (#16369074)
Have you seen the shadertoy implementation? https://www.shadertoy.com/view/XsX3zf He refers to the following paper. http://hhoppe.com/ravg.pdf
Re:Drawing better-looking Bézier curves by matthberg on Tuesday February 13, 2018 @01:31PM (#16369487)
Thank you so much for the illustrator plugin work! It was the first thing I thought of after reading and the reason I clicked on it in the first place. I wish you the best with it, if you ever need beta testers or if there's a way you need help I'd love to. (I run CC 18 on a Windows 10 64bit install).
Re:Drawing better-looking Bézier curves by berendk on Tuesday February 13, 2018 @11:06AM (#16368151)
Nice Article!

May I ask how you made the notebook interactive? Is this based on a jupyter notebook?

Re:Drawing better-looking Bézier curves by ericrav on Tuesday February 13, 2018 @11:59AM (#16368659)
It's a new project from Mike Bostock and others that was on the front page a couple weeks ago: https://news.ycombinator.com/item?id=16274686
Re:Drawing better-looking Bézier curves by agumonkey on Tuesday February 13, 2018 @07:41AM (#16366671)
Great work. How hard was it to integrate it as an Illustrator plugin ?
Re:Drawing better-looking Bézier curves by dhotson on Tuesday February 13, 2018 @07:50AM (#16366711)
Thanks! Actually it wasn't too difficult. It's all in C++ but the Adobe Illustrator SDK came with some examples that were pretty close to what I wanted already. Once I'd figured out the maths I had a prototype working in about a day.

The one thing left that I can't figure out is how to have the curvature comb update live as you drag the Bezier control points. Currently it only updates when you mouse up.

Re:Drawing better-looking Bézier curves by amelius on Tuesday February 13, 2018 @09:01AM (#16367124)
Does it run on multiple platforms, or only OSX?
Re:Drawing better-looking Bézier curves by dhotson on Tuesday February 13, 2018 @09:05AM (#16367141)
It should run fine on Windows as well, but I haven't had a chance to test.
Re:Drawing better-looking Bézier curves by aoloe on Wednesday February 14, 2018 @10:37AM (#16376507)
Would you mind creating a plugin also for Inkscape?