A react component for mixing vectors using barycentric coordinates and a 2-dimensional slider
handleOffset
should i normalize the entry points, isn’t it true that nothing can be expressed outside the bounds that can’t be expressed inside?
not sure if we should have a default polygon boundary in AUTO layout mode. Maybe it would be more preditable if box boundary was default and polygon was a choice.
boundary prop =
“polygon” (formed by nodes);
“box” (bounding box around all nodes)
“user” (this means something else… not sure how to process it yet; i think this means we wouldn’t normalize nodes and we wouldn’t change viewbox or something)
basically there are the
nodes (and the polygon formed by them)
then there’s the node bounding box, the smallest box drawn around them
then there’s the background, which is the bounding box with additonal margin for the handle