phetsims / kite

A library for creating, manipulating and displaying 2D shapes in JavaScript.
MIT License
13 stars 6 forks source link

Spline segments for Kite #32

Open samreid opened 10 years ago

samreid commented 10 years ago

In https://github.com/phetsims/energy-skate-park-basics/issues/34 we discussed providing splines directly in Kite, so they could be used directly in scenery Paths, for instance

samreid commented 10 years ago

The splines in Energy Skate Park: Basics are pairwise natural cubics--that is: a natural cubic x(t) and another natural cubic y(t) and the plot is made by plotting (x,y) as a function of t.

jonathanolson commented 10 years ago

Saw issue title, not sure how to add vertebrae to Kite. :)

On a more serious note, it would be nice to have a Polynomial type in Dot that can be used (created https://github.com/phetsims/dot/issues/16 to track that).

jonathanolson commented 8 years ago

Updated "spine" title to "spline", as I was confused when looking over the issue list.