2 ms·
Yes, tricky, a.k.a. impossible. ;) There is a neat closed-form solution for the n=2 quadratic Bezier floating around on ShaderToy, based on the trig solution of
by dahart 3y ago
Yes, tricky, a.k.a. impossible. ;) There is a neat closed-form solution for the n=2 quadratic Bezier floating around on ShaderToy, based on the trig solution of the cubic equation [1] and I’m fascinated by the link between cubics and circles [2]
[1] https://en.wikipedia.org/wiki/Cubic_equation#Trigonometric_solution_for_three_real_roots https://en.wikipedia.org/wiki/Cubic_equation#Trigonometric_s...
[2] https://en.wikipedia.org/wiki/Cubic_equation#Geometric_interpretation_of_the_roots https://en.wikipedia.org/wiki/Cubic_equation#Geometric_inter...