1521
|
1 <?xml version="1.0"?>
|
|
2 <pn:Paranormal_Visualization xmlns:pn="http://paranormal.sf.net/pnvis/1.0/">
|
|
3 <pn:Actuators>
|
|
4 <pn:Container.Actuator_List>
|
|
5 <pn:Actuators>
|
|
6 <pn:Container.Image_Context>
|
|
7 <pn:Options>
|
|
8 <pn:input_mode>
|
|
9 <pn:Value>Ignore</pn:Value>
|
|
10 </pn:input_mode>
|
|
11 <pn:output_mode>
|
|
12 <pn:Value>50/50</pn:Value>
|
|
13 </pn:output_mode>
|
|
14 </pn:Options>
|
|
15 <pn:Actuators>
|
|
16
|
|
17 <pn:Container.Image_Context>
|
|
18 <pn:Options>
|
|
19 <pn:input_mode>
|
|
20 <pn:Value>Ignore</pn:Value>
|
|
21 </pn:input_mode>
|
|
22 <pn:output_mode>
|
|
23 <pn:Value>50/50</pn:Value>
|
|
24 </pn:output_mode>
|
|
25 </pn:Options>
|
|
26 <pn:Actuators>
|
|
27
|
|
28 <pn:Render.Scope>
|
|
29 <pn:Options>
|
|
30 <pn:draw_method>
|
|
31 <pn:Value>Lines</pn:Value>
|
|
32 </pn:draw_method>
|
|
33 <pn:init_script>
|
|
34 <pn:Value>samples = width/4;</pn:Value>
|
|
35 </pn:init_script>
|
|
36 <pn:frame_script>
|
|
37 <pn:Value>
|
|
38 base = base + .04;
|
|
39 scale = 8 * volume ^ 4;
|
|
40 red = scale * abs (sin (iteration * .5 * pi + .1 * base));
|
|
41 green = scale * .5 * abs (sin (iteration * .5 * pi - .2 * base));
|
|
42 blue = scale * abs (sin (iteration * .5 * pi + .3 * base));
|
|
43 </pn:Value>
|
|
44 </pn:frame_script>
|
|
45 <pn:sample_script>
|
|
46 <pn:Value>
|
|
47 r = .25 + .25 * value;
|
|
48 theta = iteration * 2 * pi;
|
|
49 x = r * cos (theta);
|
|
50 y = r * sin (theta);
|
|
51 </pn:Value>
|
|
52 </pn:sample_script>
|
|
53 </pn:Options>
|
|
54 </pn:Render.Scope>
|
|
55
|
|
56 <pn:Transform.Distortion>
|
|
57 <pn:Options>
|
|
58 <pn:polar_coords>
|
|
59 <pn:Value> True </pn:Value>
|
|
60 </pn:polar_coords>
|
|
61 <pn:distortion_script>
|
|
62 <pn:Value>
|
|
63 intensity = .9 + r * 5;
|
|
64 r = .99 * atan (r);
|
|
65 theta = theta + .01;
|
|
66 </pn:Value>
|
|
67 </pn:distortion_script>
|
|
68 </pn:Options>
|
|
69 </pn:Transform.Distortion>
|
|
70
|
|
71 </pn:Actuators>
|
|
72 </pn:Container.Image_Context>
|
|
73
|
|
74 <pn:Transform.Flip>
|
|
75 <pn:Options>
|
|
76 <pn:direction>
|
|
77 <pn:Value>Horizontal</pn:Value>
|
|
78 </pn:direction>
|
|
79 <pn:blend>
|
|
80 <pn:Value>True</pn:Value>
|
|
81 </pn:blend>
|
|
82 </pn:Options>
|
|
83 </pn:Transform.Flip>
|
|
84
|
|
85 </pn:Actuators>
|
|
86 </pn:Container.Image_Context>
|
|
87
|
|
88 </pn:Actuators>
|
|
89 </pn:Container.Actuator_List>
|
|
90 </pn:Actuators>
|
|
91 </pn:Paranormal_Visualization> |