-
Notifications
You must be signed in to change notification settings - Fork 4
/
N2qeD84Fv78X2XEj8PtU888.Mod
58 lines (47 loc) · 1.07 KB
/
N2qeD84Fv78X2XEj8PtU888.Mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
MODULE N2qeD84Fv78X2XEj8PtU888;(*anonymous module created by saboteur*)
IMPORT Objects, Base, FRep, Out:=KernelLog, Random;
TYPE Ray = Base.Ray;
Voxel = Base.Voxel;
PT =Base.PT;
TYPE animvox=OBJECT(Voxel)
PROCEDURE tick*;
VAR
i: LONGINT;
BEGIN
FOR i:=0 TO 100 DO
p1:=Base.randPT();
strokephemeral(p1,9,bludot,v);
END;
END tick;
END animvox;
VAR
ball: FRep.sphere;
av: animvox;
noise: FRep.noise;
cyl: FRep.hexgrid;
dot,reddot,bludot,tigerlily,v: Voxel;
center, p1, p2,n: PT;
i:LONGINT;
rand: Random.Generator;
PROCEDURE draw;
BEGIN
bludot:=Base.VoxelFromName("N2qeD84Fv78X2XEj8PtUZO7");
NEW(av);
dot:=Base.VoxelFromName("NM3");
dot.setcolor(0.8,0,0.4,3,3,3);
Base.setPT(center,1/2,1/2,1/2);
tigerlily:=Base.VoxelFromName("NmOgKSH5ZXYP3DODELOkO7g");
NEW(ball,center,5/12);
ball.setcolor(0.01,0.66,0.0,1);
(* ball.setvoxel(tigerlily); *)
dot.FRasterSolid(ball,64);
dot.copyonstroke:=TRUE;
END draw;
PROCEDURE thisvox*():Base.Voxel;
BEGIN
RETURN dot
END thisvox;
BEGIN
draw
END N2qeD84Fv78X2XEj8PtU888.
Marsh.Rez N2qeD84Fv78X2XEj8PtU888 ~