World zzz805

Classes: DemoLivePaint Dollar InspectSimple SnapshotWorld Vec WebApp

Methods: cat: ch: ch:with: draw onevent:at: tl wmid wtitle

Classes

DemoLivePaint

{ p q r }

draw
p= num pi * 2 / 3. self clear: 0. while(1)do( r= if(r equals: nil)then(0) else(r +1). self post. ).

onevent:at:
t= r / 100. x= t sin * 4 + 5 $floor. y= (t + p) sin * 4 + 5 $floor. z= (t - p) sin * 4 + 5 $floor. c= x*100 + y*10 + z. (self white color: c) text: a str sw: b.

Dollar < WebApp

ch:
z = vec new. if( b len ==0 )then( z ap: (a,) )

ch:with:
d= b at: 0. z = vec new. if( b len ==1 )then( z ap: (a,) ) else( for(i:100) do( r= a - i*d. if(r >=0) then( for(e: se ch: r with: b tl ) do( z ap: ((i,) cat: e) ) ) ) ). z

wmid
v=se ch: 100 with: (50,25,10,5,1). ht( v len, ' ======= ', v repr )

InspectSimple

wmid
HT('Inspect: ', msg str) "now is the time"

SnapshotWorld

wtitle
s= sys secs floor. c= (s / 999 % 26) + 97 $chr. snap = ('w_zz', c, (s % 999), '.txt')jam. snap.

Vec

cat:
z= vec new. for(e: se) do(z ap: e). for(e: a) do(z ap: e). z

tl
for(i: se len - 1) map( se at: i +1)

WebApp

Method CrossReference

cat:
Vec  
ch:
Dollar  
ch:with:
Dollar  
draw
DemoLivePaint  
onevent:at:
DemoLivePaint  
tl
Vec  
wmid
Dollar   InspectSimple  
wtitle
SnapshotWorld