ruby-processing 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/CHANGELOG +6 -0
  2. data/lib/core/core.jar +0 -0
  3. data/lib/core/jruby-complete.jar +0 -0
  4. data/lib/ruby-processing.rb +5 -10
  5. data/lib/ruby-processing/app.rb +139 -98
  6. data/lib/ruby-processing/exporters/applet_exporter.rb +4 -1
  7. data/lib/ruby-processing/exporters/application_exporter.rb +5 -1
  8. data/lib/ruby-processing/exporters/base_exporter.rb +3 -2
  9. data/lib/ruby-processing/runner.rb +54 -46
  10. data/lib/ruby-processing/runners/base.rb +6 -7
  11. data/lib/ruby-processing/runners/live.rb +4 -3
  12. data/lib/ruby-processing/runners/watch.rb +33 -27
  13. data/library/control_panel/control_panel.rb +24 -23
  14. data/samples/anar/data/java_args.txt +1 -0
  15. data/samples/anar/extrusion.rb +49 -0
  16. data/samples/anar/l_system.rb +86 -0
  17. data/samples/anar/library/anar/anar.jar +0 -0
  18. data/samples/anar/many_shapes.rb +98 -0
  19. data/samples/empathy.rb +73 -0
  20. data/samples/gravity.rb +113 -0
  21. data/samples/peasy_cam/data/java_args.txt +1 -0
  22. data/samples/peasy_cam/hello_peasy.rb +29 -0
  23. data/samples/peasy_cam/hilbert_fractal.rb +40 -0
  24. data/samples/peasy_cam/library/PeasyCam/PeasyCam.jar +0 -0
  25. data/samples/peasy_cam/library/hilbert/hilbert.rb +99 -0
  26. data/samples/processing_app/3D/form/brick_tower.rb +3 -3
  27. data/samples/processing_app/basics/data/characters_strings/characters_strings.rb +5 -7
  28. data/samples/processing_app/basics/form/triangle_strip.rb +11 -11
  29. data/samples/processing_app/basics/input/keyboard.rb +2 -8
  30. data/samples/processing_app/basics/input/keyboard_2.rb +4 -4
  31. data/samples/processing_app/basics/input/keyboard_functions.rb +12 -21
  32. metadata +41 -64
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-processing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Ashkenas
@@ -17,11 +17,33 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2009-04-29 00:00:00 -04:00
20
+ date: 2010-03-04 00:00:00 -05:00
21
21
  default_executable: rp5
22
22
  dependencies: []
23
23
 
24
- description: "Ruby-Processing is a Ruby wrapper for the Processing code art framework. It's this thin little shim that squeezes between Processing and JRuby, passing along some neat goodies like: * Applet and Application exporting of your sketches. Hand them out to your party guests, ready-to-run. * Live Coding via JRuby's IRB. Loads in your sketch so you can futz with variables and remake methods on the fly. * Bare sketches. Write your Ruby-Processing sketches without having to define a class. Without defining methods, even. * A \"Control Panel\" library, so that you can easily create sliders, buttons, checkboxes and drop-down menus, and hook them into your sketch's instance variables. * \"Watch\" mode, where Ruby-Processing keeps an eye on your sketch and reloads it from scratch every time you make a change. A pretty nice REPL-ish way to work on your Processing sketches."
24
+ description: |+
25
+
26
+ Ruby-Processing is a Ruby wrapper for the Processing code art framework. It's
27
+ this thin little shim that squeezes between Processing and JRuby, passing
28
+ along some neat goodies like:
29
+
30
+ * Applet and Application exporting of your sketches. Hand them out to
31
+ your party guests, ready-to-run.
32
+
33
+ * Live Coding via JRuby's IRB. Loads in your sketch so you can futz with
34
+ variables and remake methods on the fly.
35
+
36
+ * Bare sketches. Write your Ruby-Processing sketches without having to define
37
+ a class. Without defining methods, even.
38
+
39
+ * A "Control Panel" library, so that you can easily create sliders, buttons,
40
+ checkboxes and drop-down menus, and hook them into your sketch's instance
41
+ variables.
42
+
43
+ * "Watch" mode, where Ruby-Processing keeps an eye on your sketch and reloads
44
+ it from scratch every time you make a change. A pretty nice REPL-ish way
45
+ to work on your Processing sketches.
46
+
25
47
  email: jeremy@ashkenas.com
26
48
  executables:
27
49
  - rp5
@@ -33,70 +55,45 @@ extra_rdoc_files:
33
55
  - LICENSE
34
56
  files:
35
57
  - bin/rp5
36
- - lib/core
37
58
  - lib/core/core.jar
38
59
  - lib/core/jruby-complete.jar
39
- - lib/patches
40
60
  - lib/patches/JRubyApplet.diff
41
61
  - lib/patches/PApplet.diff
42
62
  - lib/patches/PATCHES.txt
43
- - lib/ruby-processing
44
63
  - lib/ruby-processing/app.rb
45
- - lib/ruby-processing/exporters
46
64
  - lib/ruby-processing/exporters/applet_exporter.rb
47
65
  - lib/ruby-processing/exporters/application_exporter.rb
48
66
  - lib/ruby-processing/exporters/base_exporter.rb
49
67
  - lib/ruby-processing/exporters/creator.rb
50
- - lib/ruby-processing/helpers
51
68
  - lib/ruby-processing/helpers/numeric.rb
52
69
  - lib/ruby-processing/helpers/string.rb
53
70
  - lib/ruby-processing/runner.rb
54
- - lib/ruby-processing/runners
55
71
  - lib/ruby-processing/runners/base.rb
56
72
  - lib/ruby-processing/runners/live.rb
57
73
  - lib/ruby-processing/runners/run.rb
58
74
  - lib/ruby-processing/runners/watch.rb
59
75
  - lib/ruby-processing.rb
60
- - lib/templates
61
- - lib/templates/applet
62
- - lib/templates/applet/images
63
76
  - lib/templates/applet/images/built_with.jpg
64
77
  - lib/templates/applet/images/ruby.jpg
65
78
  - lib/templates/applet/images/top.png
66
79
  - lib/templates/applet/index.html.erb
67
- - lib/templates/applet/library
68
80
  - lib/templates/applet/library/library.txt
69
- - lib/templates/application
70
- - lib/templates/application/Contents
71
81
  - lib/templates/application/Contents/Info.plist.erb
72
- - lib/templates/application/Contents/MacOS
73
82
  - lib/templates/application/Contents/MacOS/JavaApplicationStub
74
83
  - lib/templates/application/Contents/PkgInfo
75
- - lib/templates/application/Contents/Resources
76
84
  - lib/templates/application/Contents/Resources/sketch.icns
77
- - lib/templates/application/lib
78
85
  - lib/templates/application/lib/args.txt.erb
79
- - lib/templates/application/lib/library
80
86
  - lib/templates/application/lib/library/library.txt
81
87
  - lib/templates/application/lib/MANIFEST.MF
82
88
  - lib/templates/application/run.erb
83
89
  - lib/templates/application/run.exe
84
- - lib/templates/create
85
90
  - lib/templates/create/bare_sketch.rb.erb
86
91
  - lib/templates/create/blank_sketch.rb.erb
87
- - library/boids
88
92
  - library/boids/boids.rb
89
- - library/control_panel
90
93
  - library/control_panel/control_panel.rb
91
- - library/dxf
92
- - library/dxf/library
93
94
  - library/dxf/library/dxf.jar
94
- - library/javascript
95
- - library/javascript/library
96
95
  - library/javascript/library/export.txt
97
96
  - library/javascript/library/javascript.jar
98
- - library/minim
99
- - library/minim/library
100
97
  - library/minim/library/jl1.0.jar
101
98
  - library/minim/library/jsminim.jar
102
99
  - library/minim/library/minim-spi.jar
@@ -106,11 +103,7 @@ files:
106
103
  - library/minim/library/tritonus_share.jar
107
104
  - library/minim/license.txt
108
105
  - library/minim/version.txt
109
- - library/net
110
- - library/net/library
111
106
  - library/net/library/net.jar
112
- - library/opengl
113
- - library/opengl/library
114
107
  - library/opengl/library/export.txt
115
108
  - library/opengl/library/gluegen-rt-natives-linux-amd64.jar
116
109
  - library/opengl/library/gluegen-rt-natives-linux-i586.jar
@@ -141,73 +134,64 @@ files:
141
134
  - library/opengl/library/libjogl_cg.jnilib
142
135
  - library/opengl/library/libjogl_cg.so
143
136
  - library/opengl/library/opengl.jar
144
- - library/pdf
145
- - library/pdf/library
146
137
  - library/pdf/library/itext.jar
147
138
  - library/pdf/library/pdf.jar
148
139
  - library/pdf/notes.txt
149
- - library/serial
150
- - library/serial/library
151
140
  - library/serial/library/export.txt
152
141
  - library/serial/library/librxtxSerial.jnilib
153
142
  - library/serial/library/librxtxSerial.so
154
143
  - library/serial/library/RXTXcomm.jar
155
144
  - library/serial/library/rxtxSerial.dll
156
145
  - library/serial/library/serial.jar
157
- - library/video
158
- - library/video/library
159
146
  - library/video/library/video.jar
147
+ - samples/anar/data/java_args.txt
148
+ - samples/anar/extrusion.rb
149
+ - samples/anar/l_system.rb
150
+ - samples/anar/library/anar/anar.jar
151
+ - samples/anar/many_shapes.rb
160
152
  - samples/animator.rb
161
153
  - samples/bezier_playground.rb
162
154
  - samples/circle_collision.rb
155
+ - samples/empathy.rb
163
156
  - samples/fern.rb
164
157
  - samples/flight_patterns.rb
165
158
  - samples/full_screen.rb
166
159
  - samples/getting_started.rb
160
+ - samples/gravity.rb
167
161
  - samples/jwishy.rb
168
162
  - samples/orbit.rb
163
+ - samples/peasy_cam/data/java_args.txt
164
+ - samples/peasy_cam/hello_peasy.rb
165
+ - samples/peasy_cam/hilbert_fractal.rb
166
+ - samples/peasy_cam/library/hilbert/hilbert.rb
167
+ - samples/peasy_cam/library/PeasyCam/PeasyCam.jar
169
168
  - samples/pong.rb
170
- - samples/processing_app
171
- - samples/processing_app/3D
172
- - samples/processing_app/3D/camera
173
169
  - samples/processing_app/3D/camera/ortho_vs_perspective.rb
174
170
  - samples/processing_app/3D/camera/perspective.rb
175
- - samples/processing_app/3D/form
176
171
  - samples/processing_app/3D/form/brick_tower.rb
177
- - samples/processing_app/3D/typography
178
- - samples/processing_app/3D/typography/data
179
172
  - samples/processing_app/3D/typography/data/Univers66.vlw.gz
180
173
  - samples/processing_app/3D/typography/kinetic_type.rb
181
174
  - samples/processing_app/ABOUT
182
- - samples/processing_app/basics
183
- - samples/processing_app/basics/arrays
184
175
  - samples/processing_app/basics/arrays/array.rb
185
176
  - samples/processing_app/basics/arrays/array_2d.rb
186
177
  - samples/processing_app/basics/arrays/array_objects.rb
187
- - samples/processing_app/basics/color
188
178
  - samples/processing_app/basics/color/brightness.rb
189
179
  - samples/processing_app/basics/color/color_wheel.rb
190
180
  - samples/processing_app/basics/color/creating.rb
191
181
  - samples/processing_app/basics/color/hue.rb
192
182
  - samples/processing_app/basics/color/linear_gradient.rb
193
183
  - samples/processing_app/basics/color/radial_gradient.rb
194
- - samples/processing_app/basics/color/reading
195
- - samples/processing_app/basics/color/reading/data
196
184
  - samples/processing_app/basics/color/reading/data/cait.jpg
197
185
  - samples/processing_app/basics/color/reading/reading.rb
198
186
  - samples/processing_app/basics/color/relativity.rb
199
187
  - samples/processing_app/basics/color/saturation.rb
200
188
  - samples/processing_app/basics/color/wave_gradient.rb
201
- - samples/processing_app/basics/control
202
189
  - samples/processing_app/basics/control/conditionals1.rb
203
190
  - samples/processing_app/basics/control/conditionals2.rb
204
191
  - samples/processing_app/basics/control/embedded_iteration.rb
205
192
  - samples/processing_app/basics/control/iteration.rb
206
193
  - samples/processing_app/basics/control/logical_operators.rb
207
- - samples/processing_app/basics/data
208
- - samples/processing_app/basics/data/characters_strings
209
194
  - samples/processing_app/basics/data/characters_strings/characters_strings.rb
210
- - samples/processing_app/basics/data/characters_strings/data
211
195
  - samples/processing_app/basics/data/characters_strings/data/Eureka-90.vlw
212
196
  - samples/processing_app/basics/data/characters_strings/data/rathausFrog.jpg
213
197
  - samples/processing_app/basics/data/datatype_conversion.rb
@@ -215,7 +199,6 @@ files:
215
199
  - samples/processing_app/basics/data/true_false.rb
216
200
  - samples/processing_app/basics/data/variable_scope.rb
217
201
  - samples/processing_app/basics/data/variables.rb
218
- - samples/processing_app/basics/form
219
202
  - samples/processing_app/basics/form/bezier.rb
220
203
  - samples/processing_app/basics/form/bezier_ellipse.rb
221
204
  - samples/processing_app/basics/form/pie_chart.rb
@@ -223,11 +206,9 @@ files:
223
206
  - samples/processing_app/basics/form/shape_primitives.rb
224
207
  - samples/processing_app/basics/form/triangle_strip.rb
225
208
  - samples/processing_app/basics/form/vertices.rb
226
- - samples/processing_app/basics/image
227
209
  - samples/processing_app/basics/image/alphamask.rb
228
210
  - samples/processing_app/basics/image/background_image.rb
229
211
  - samples/processing_app/basics/image/create_image.rb
230
- - samples/processing_app/basics/image/data
231
212
  - samples/processing_app/basics/image/data/construct.jpg
232
213
  - samples/processing_app/basics/image/data/eames.jpg
233
214
  - samples/processing_app/basics/image/data/jelly.jpg
@@ -241,7 +222,6 @@ files:
241
222
  - samples/processing_app/basics/image/request_image.rb
242
223
  - samples/processing_app/basics/image/sprite.rb
243
224
  - samples/processing_app/basics/image/transparency.rb
244
- - samples/processing_app/basics/input
245
225
  - samples/processing_app/basics/input/clock.rb
246
226
  - samples/processing_app/basics/input/constrain.rb
247
227
  - samples/processing_app/basics/input/easing.rb
@@ -255,15 +235,10 @@ files:
255
235
  - samples/processing_app/basics/input/mouse_press.rb
256
236
  - samples/processing_app/basics/input/mouse_signals.rb
257
237
  - samples/processing_app/basics/input/storing_input.rb
258
- - samples/processing_app/basics/math
259
238
  - samples/processing_app/basics/math/additive_wave.rb
260
239
  - samples/processing_app/basics/math/arctangent.rb
261
- - samples/processing_app/topics
262
- - samples/processing_app/topics/effects
263
- - samples/processing_app/topics/effects/data
264
240
  - samples/processing_app/topics/effects/data/red_smoke.jpg
265
241
  - samples/processing_app/topics/effects/lens.rb
266
- - samples/processing_app/topics/simulate
267
242
  - samples/processing_app/topics/simulate/chain.rb
268
243
  - samples/processing_app/topics/simulate/multiple_particle_systems.rb
269
244
  - samples/processing_app/topics/simulate/simple_particle_system.rb
@@ -277,6 +252,8 @@ files:
277
252
  - LICENSE
278
253
  has_rdoc: true
279
254
  homepage: http://wiki.github.com/jashkenas/ruby-processing
255
+ licenses: []
256
+
280
257
  post_install_message:
281
258
  rdoc_options:
282
259
  - --line-numbers
@@ -302,9 +279,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
302
279
  requirements: []
303
280
 
304
281
  rubyforge_project: ruby-processing
305
- rubygems_version: 1.3.1
282
+ rubygems_version: 1.3.5
306
283
  signing_key:
307
- specification_version: 2
284
+ specification_version: 3
308
285
  summary: Code as Art, Art as Code. Processing and Ruby are meant for each other.
309
286
  test_files: []
310
287