Curve¶
from acron.particles2d import Curve
- class Curve(points)¶
Bases:
objectGodot
Curve: points[(offset, value), left_tan, right_tan, ...].Sampled the way Godot does – a cubic bezier whose control values come from the tangents, so the common zero-tangent curve is a smoothstep between its points rather than a straight line.
Inheritance diagram
digraph inheritance14c83f612b { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "Curve" [URL="acron.particles2d.Curve.html#acron.particles2d.Curve",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Godot ``Curve``: points ``[(offset, value), left_tan, right_tan, ...]``."]; }