Function wasm_wrapper::drawer::draw_trajectory
source · fn draw_trajectory<F0, F1>(
context: &CanvasRenderingContext2d,
rescale_h: F0,
rescale_v: F1,
linewidth: f64,
tpoints: &Vec<[f64; 2]>
)where
F0: Fn(f64) -> f64,
F1: Fn(f64) -> f64,
Expand description
Draws a trajectory of the last mass point.