Jump to content

Knot Pattern.


Librarian

Recommended Posts

Nice .:wub: How??
https://blog.demofox.org/2015/08/08/cubic-hermite-interpolation/

https://procegen.konstantinmagnus.de/cubic-bezier-curves-in-vex

function vector cubic_hermite_01(vector p0; vector p1; vector m0; vector m1; float t;){
	vector p_t = (2*t*t*t -3*t*t +1)*p0+
		(t*t*t -2*t*t +t)*m0 +
		(-2*t*t*t +3*t*t)*p1 +
		(t*t*t -t*t)*m1;
	return p_t;
}
Edited by Librarian
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...