camelCase
The Case of the Mysterious Camel.
- Reaction score
- 362
I recently got interested in bezier curves and looked it up on wikipedia; my math literacy is almost zero but I did manage to understand the mechanical side of bezier curves (I have no idea why or how they work, I just know they work).
I managed to implement it and see it in action in Unity 3D which was satisfying, then I thought of having an object follow a bezier curve and dynamically being able to create curves and merge them.
But I don't know how to even begin merging bezier curves in a way that would look "right".
I tried googling for the algorithm because I suck at math and just wanted the result and someone suggested "de Casteljau subdivision". Googling it brought me more mathy stuff that I will never understand in my lifetime and continued searches on merging two bezier curves brought me to blender, AS3 and HTML5 sites.
So..
Assuming I have two bezier curves of arbitrary and differing orders, how would I merge them?
If that's not possible, what about two curves of order 5?
If still not possible, what about two quadratic bezier curves?
I managed to implement it and see it in action in Unity 3D which was satisfying, then I thought of having an object follow a bezier curve and dynamically being able to create curves and merge them.
But I don't know how to even begin merging bezier curves in a way that would look "right".
I tried googling for the algorithm because I suck at math and just wanted the result and someone suggested "de Casteljau subdivision". Googling it brought me more mathy stuff that I will never understand in my lifetime and continued searches on merging two bezier curves brought me to blender, AS3 and HTML5 sites.
So..
Assuming I have two bezier curves of arbitrary and differing orders, how would I merge them?
If that's not possible, what about two curves of order 5?
If still not possible, what about two quadratic bezier curves?