examples/nested.rb in interpolate-0.2.4 vs examples/nested.rb in interpolate-0.3.0
- old
+ new
@@ -12,10 +12,10 @@
3 => [[0, 0], [1, 0], [2, 0], [3, 0], [4, 0]], # a horizontal line, again
4 => [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]] # a vertical line
}
-paths = Interpolation.new(time_frames)
+paths = Interpolate::Points.new(time_frames)
# show the vertex positions in time increments of 0.25
(0).step(4, 0.25) do |time|
points = paths.at(time)
puts ">> At #{time}s, points are:"