annotate Plugins/Visualization/paranormal/default.pnv @ 1521:752f35f5a799 trunk

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