loom
1import "test/source/sbl/modules/scene/ode-01.sbl" ("sbl") type LS;
2LS ls = {
3sigma : 10, b : 8./3, R : 28,
4x : 10, y : 1, z : 1,
5};
6
7import "scene" scene = {
8t : 0.0, tk : 10.0, dt : 0.01,
9callback_period : 100,
10callback : func [scene, ls] () { print scene.t + ", " + ls.x + ", " + ls.y + ", " + ls.z; },
11actors : [ls],
12};
13
14wait scene.start();
15