degree = 2;

xs = [1,  √2/2,  0, -√2/2, -1, -√2/2,  0,  √2/2,  1]
ys = [0,  √2/2,  1,  √2/2,  0, -√2/2, -1, -√2/2,  0]
ws = [1,  √2/2,  1,  √2/2,  1,  √2/2,  1,  √2/2,  1]

knots = [0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 4]
	

If you have found a bug, please report it at the Codeberg project page.

If you have a suggestion or a question, please write Oleksandr Kaleniuk, Ph. D., Senior lecturer at DTE / IATE / ISKPI.