2 var liba = require("../liba")
4 var ctx = new liba.polytraj3(0, 1, 0, 1, 0, 1)
6 console.log(ctx.out(0.5))
7 console.log(ctx.pos(0.5), ctx.vel(0.5), ctx.acc(0.5))
10 var ctx = new liba.polytraj5(0, 1, 0, 1, 0, 1, 0, 1)
12 console.log(ctx.out(0.5))
13 console.log(ctx.pos(0.5), ctx.vel(0.5), ctx.acc(0.5))
16 var ctx = new liba.polytraj7(0, 1, 0, 1, 0, 1, 0, 1, 0, 1)
18 console.log(ctx.out(0.5))
19 console.log(ctx.pos(0.5), ctx.vel(0.5), ctx.acc(0.5), ctx.jer(0.5))