modify springies.models.urchin
parent
a833473166
commit
c451cb3fc2
|
@ -3,13 +3,13 @@ USING: kernel namespaces arrays sequences threads math math.vectors
|
||||||
ui random bake
|
ui random bake
|
||||||
springies springies.ui ;
|
springies springies.ui ;
|
||||||
|
|
||||||
IN: springies.models.ball
|
IN: springies.models.urchin
|
||||||
|
|
||||||
: model ( -- )
|
: model ( -- )
|
||||||
|
|
||||||
{ } clone >nodes
|
{ } clone >nodes
|
||||||
{ } clone >springs
|
{ } clone >springs
|
||||||
0.008 >time-slice
|
0.007 >time-slice
|
||||||
gravity on
|
gravity on
|
||||||
|
|
||||||
1 507.296953 392.174236 -11.451186 -71.267273 1.0 1.0 mass
|
1 507.296953 392.174236 -11.451186 -71.267273 1.0 1.0 mass
|
||||||
|
@ -103,7 +103,7 @@ gravity on
|
||||||
65 23 12 200.0 3.0 72.277244 spng
|
65 23 12 200.0 3.0 72.277244 spng
|
||||||
|
|
||||||
nodes>
|
nodes>
|
||||||
100 random -100 + 0 2array [ over node-vel v+ swap set-node-vel ]
|
75 random -75 + 0 2array [ over node-vel v+ swap set-node-vel ]
|
||||||
curry each
|
curry each
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue