ruby-processing 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +137 -0
- data/LICENSE +37 -0
- data/README +61 -0
- data/bin/rp5 +4 -0
- data/lib/core/core.jar +0 -0
- data/lib/core/jruby-complete.jar +0 -0
- data/lib/ruby-processing.rb +27 -0
- data/lib/ruby-processing/app.rb +358 -0
- data/lib/ruby-processing/exporters/applet_exporter.rb +75 -0
- data/lib/ruby-processing/exporters/application_exporter.rb +87 -0
- data/lib/ruby-processing/exporters/base_exporter.rb +133 -0
- data/lib/ruby-processing/exporters/creator.rb +46 -0
- data/lib/ruby-processing/helpers/string.rb +27 -0
- data/lib/ruby-processing/runner.rb +143 -0
- data/lib/ruby-processing/runners/base.rb +5 -0
- data/lib/ruby-processing/runners/live.rb +11 -0
- data/lib/ruby-processing/runners/run.rb +5 -0
- data/lib/ruby-processing/runners/watch.rb +42 -0
- data/lib/templates/applet/images/built_with.jpg +0 -0
- data/lib/templates/applet/images/ruby.jpg +0 -0
- data/lib/templates/applet/images/top.png +0 -0
- data/lib/templates/applet/index.html.erb +111 -0
- data/lib/templates/applet/library/library.txt +1 -0
- data/lib/templates/application/Contents/Info.plist.erb +58 -0
- data/lib/templates/application/Contents/MacOS/JavaApplicationStub +0 -0
- data/lib/templates/application/Contents/PkgInfo +1 -0
- data/lib/templates/application/Contents/Resources/sketch.icns +0 -0
- data/lib/templates/application/lib/MANIFEST.MF +3 -0
- data/lib/templates/application/lib/args.txt.erb +3 -0
- data/lib/templates/application/lib/library/library.txt +1 -0
- data/lib/templates/application/run.erb +4 -0
- data/lib/templates/application/run.exe +0 -0
- data/lib/templates/create/blank_sketch.rb.erb +15 -0
- data/library/boids/boids.rb +222 -0
- data/library/control_panel/control_panel.rb +149 -0
- data/library/dxf/bin/processing/dxf/RawDXF.class +0 -0
- data/library/dxf/dxfviewer.jar +0 -0
- data/library/dxf/library/dxf.jar +0 -0
- data/library/javascript/library/export.txt +6 -0
- data/library/javascript/library/javascript.jar +0 -0
- data/library/minim/library/jl1.0.jar +0 -0
- data/library/minim/library/jsminim.jar +0 -0
- data/library/minim/library/minim-spi.jar +0 -0
- data/library/minim/library/minim.jar +0 -0
- data/library/minim/library/mp3spi1.9.4.jar +0 -0
- data/library/minim/library/tritonus_aos.jar +0 -0
- data/library/minim/library/tritonus_share.jar +0 -0
- data/library/minim/license.txt +339 -0
- data/library/minim/version.txt +1 -0
- data/library/net/bin/processing/net/Client.class +0 -0
- data/library/net/bin/processing/net/Server.class +0 -0
- data/library/net/library/net.jar +0 -0
- data/library/opengl/bin/processing/opengl/PGraphicsOpenGL$ImageCache.class +0 -0
- data/library/opengl/bin/processing/opengl/PGraphicsOpenGL$TessCallback.class +0 -0
- data/library/opengl/bin/processing/opengl/PGraphicsOpenGL.class +0 -0
- data/library/opengl/library/export.txt +13 -0
- data/library/opengl/library/gluegen-rt-natives-linux-amd64.jar +0 -0
- data/library/opengl/library/gluegen-rt-natives-linux-i586.jar +0 -0
- data/library/opengl/library/gluegen-rt-natives-macosx-ppc.jar +0 -0
- data/library/opengl/library/gluegen-rt-natives-macosx-universal.jar +0 -0
- data/library/opengl/library/gluegen-rt-natives-windows-amd64.jar +0 -0
- data/library/opengl/library/gluegen-rt-natives-windows-i586.jar +0 -0
- data/library/opengl/library/gluegen-rt.dll +0 -0
- data/library/opengl/library/gluegen-rt.jar +0 -0
- data/library/opengl/library/gluegen-rt.jar.pack.gz +0 -0
- data/library/opengl/library/jogl-natives-linux-amd64.jar +0 -0
- data/library/opengl/library/jogl-natives-linux-i586.jar +0 -0
- data/library/opengl/library/jogl-natives-macosx-ppc.jar +0 -0
- data/library/opengl/library/jogl-natives-macosx-universal.jar +0 -0
- data/library/opengl/library/jogl-natives-windows-amd64.jar +0 -0
- data/library/opengl/library/jogl-natives-windows-i586.jar +0 -0
- data/library/opengl/library/jogl.dll +0 -0
- data/library/opengl/library/jogl.jar +0 -0
- data/library/opengl/library/jogl.jar.pack.gz +0 -0
- data/library/opengl/library/jogl_awt.dll +0 -0
- data/library/opengl/library/jogl_cg.dll +0 -0
- data/library/opengl/library/libgluegen-rt.jnilib +0 -0
- data/library/opengl/library/libgluegen-rt.so +0 -0
- data/library/opengl/library/libjogl.jnilib +0 -0
- data/library/opengl/library/libjogl.so +0 -0
- data/library/opengl/library/libjogl_awt.jnilib +0 -0
- data/library/opengl/library/libjogl_awt.so +0 -0
- data/library/opengl/library/libjogl_cg.jnilib +0 -0
- data/library/opengl/library/libjogl_cg.so +0 -0
- data/library/opengl/library/opengl.jar +0 -0
- data/library/pdf/bin/processing/pdf/PGraphicsPDF.class +0 -0
- data/library/pdf/library/itext.jar +0 -0
- data/library/pdf/library/pdf.jar +0 -0
- data/library/pdf/notes.txt +9 -0
- data/library/serial/bin/processing/serial/Serial.class +0 -0
- data/library/serial/library/RXTXcomm.jar +0 -0
- data/library/serial/library/export.txt +3 -0
- data/library/serial/library/librxtxSerial.jnilib +0 -0
- data/library/serial/library/librxtxSerial.so +0 -0
- data/library/serial/library/rxtxSerial.dll +0 -0
- data/library/serial/library/serial.jar +0 -0
- data/library/video/bin/processing/video/Capture.class +0 -0
- data/library/video/bin/processing/video/Movie.class +0 -0
- data/library/video/bin/processing/video/MovieMaker.class +0 -0
- data/library/video/library/video.jar +0 -0
- data/samples/animator.rb +47 -0
- data/samples/circle_collision.rb +213 -0
- data/samples/fern.rb +49 -0
- data/samples/flight_patterns.rb +64 -0
- data/samples/full_screen.rb +35 -0
- data/samples/getting_started.rb +43 -0
- data/samples/jwishy.rb +85 -0
- data/samples/kinetic_type.rb +100 -0
- data/samples/learning_processing/ABOUT +11 -0
- data/samples/learning_processing/chapter_01/1_stroke_and_fill.rb +34 -0
- data/samples/learning_processing/chapter_01/2_nofill.rb +25 -0
- data/samples/learning_processing/chapter_01/3_rgb_color.rb +31 -0
- data/samples/learning_processing/chapter_01/4_alpha_transparency.rb +36 -0
- data/samples/learning_processing/chapter_01/5_zoog.rb +37 -0
- data/samples/learning_processing/chapter_02/1_zoog_again.rb +39 -0
- data/samples/learning_processing/chapter_03/1_zoog_as_dynamic_sketch.rb +44 -0
- data/samples/learning_processing/chapter_03/2_mouse_x_and_mouse_y.rb +26 -0
- data/samples/learning_processing/chapter_03/3_zoog_as_dynamic_sketch_with_variation.rb +41 -0
- data/samples/learning_processing/chapter_03/4_drawing_a_continuous_line.rb +18 -0
- data/samples/learning_processing/chapter_03/5_mouse_pressed_and_key_pressed.rb +29 -0
- data/samples/learning_processing/chapter_03/6_interactive_zoog.rb +50 -0
- data/samples/learning_processing/chapter_04/1_variable_declaration.rb +24 -0
- data/samples/learning_processing/chapter_04/2_using_variables.rb +27 -0
- data/samples/learning_processing/chapter_04/3_varying_variables.rb +27 -0
- data/samples/learning_processing/chapter_04/4_many_variables.rb +38 -0
- data/samples/learning_processing/chapter_04/5_using_system_variables.rb +28 -0
- data/samples/learning_processing/chapter_04/6_ellipse_with_variables.rb +24 -0
- data/samples/learning_processing/chapter_04/7_filling_variables_with_random_values.rb +27 -0
- data/samples/learning_processing/chapter_04/8_variable_zoog.rb +50 -0
- data/samples/learning_processing/chapter_05/01_conditionals.rb +31 -0
- data/samples/learning_processing/chapter_05/02_more_conditionals.rb +38 -0
- data/samples/learning_processing/chapter_05/03_rollovers.rb +34 -0
- data/samples/learning_processing/chapter_05/04_hold_down_the_button.rb +33 -0
- data/samples/learning_processing/chapter_05/05_button_as_switch.rb +39 -0
- data/samples/learning_processing/chapter_05/06_bouncing_ball.rb +33 -0
- data/samples/learning_processing/chapter_05/07_bouncing_color.rb +37 -0
- data/samples/learning_processing/chapter_05/08_square_following_edge.rb +59 -0
- data/samples/learning_processing/chapter_05/09_simple_gravity.rb +43 -0
- data/samples/learning_processing/chapter_05/10_zoog_and_conditionals.rb +53 -0
- data/samples/learning_processing/chapter_06/01_many_lines.rb +29 -0
- data/samples/learning_processing/chapter_06/02_many_lines_with_variables.rb +53 -0
- data/samples/learning_processing/chapter_06/03_while_loop.rb +30 -0
- data/samples/learning_processing/chapter_06/04_infinite_loop.rb +25 -0
- data/samples/learning_processing/chapter_06/05_another_infinite_loop.rb +33 -0
- data/samples/learning_processing/chapter_06/06_legs_with_a_for_loop.rb +41 -0
- data/samples/learning_processing/chapter_06/07_local_variables.rb +39 -0
- data/samples/learning_processing/chapter_06/08_lines_one_at_a_time.rb +30 -0
- data/samples/learning_processing/chapter_06/09_simple_while_loop_with_interactivity.rb +41 -0
- data/samples/learning_processing/chapter_06/10_zoog_with_arms.rb +56 -0
- data/samples/learning_processing/chapter_06/11_multiple_zoogs.rb +46 -0
- data/samples/learning_processing/chapter_07/01_defining_a_function.rb +22 -0
- data/samples/learning_processing/chapter_07/02_calling_a_function.rb +22 -0
- data/samples/learning_processing/chapter_07/03_bouncing_ball_with_functions.rb +49 -0
- data/samples/learning_processing/chapter_07/04_function_returns_distance.rb +48 -0
- data/samples/learning_processing/chapter_07/05_zoog_with_functions.rb +71 -0
- data/samples/learning_processing/chapter_08/01_car_class_and_car_variable.rb +45 -0
- data/samples/learning_processing/chapter_08/02_two_car_objects.rb +60 -0
- data/samples/learning_processing/chapter_08/03_object_oriented_zoog.rb +81 -0
- data/samples/learning_processing/chapter_10/01_catcher.rb +35 -0
- data/samples/learning_processing/chapter_10/02_bouncing_ball.rb +44 -0
- data/samples/learning_processing/chapter_10/03_bouncing_balls_with_intersection.rb +69 -0
- data/samples/learning_processing/chapter_10/04_a_timer.rb +24 -0
- data/samples/learning_processing/chapter_10/05_object_oriented_timer.rb +42 -0
- data/samples/learning_processing/chapter_10/06_simple_raindrop.rb +23 -0
- data/samples/learning_processing/chapter_10/07_drops_one_at_a_time.rb +63 -0
- data/samples/learning_processing/chapter_13/02_random_number_distribution.rb +24 -0
- data/samples/learning_processing/chapter_13/03_probabilities.rb +33 -0
- data/samples/learning_processing/chapter_13/04_perlin_noise.rb +22 -0
- data/samples/learning_processing/chapter_13/06_oscillation.rb +29 -0
- data/samples/learning_processing/chapter_13/07_wave.rb +31 -0
- data/samples/learning_processing/chapter_13/08_recursion.rb +30 -0
- data/samples/learning_processing/chapter_13/09_two_dimensional_array.rb +21 -0
- data/samples/learning_processing/chapter_13/10_two_dimensional_array_with_objects.rb +54 -0
- data/samples/learning_processing/chapter_14/01_growing_rectangle.rb +26 -0
- data/samples/learning_processing/chapter_14/02_multiple_translations.rb +37 -0
- data/samples/learning_processing/chapter_14/03_depth_rectangle.rb +29 -0
- data/samples/learning_processing/chapter_14/04_pyramid_using_beingshape.rb +55 -0
- data/samples/learning_processing/chapter_14/05_rotate_rectangle_around_center.rb +28 -0
- data/samples/learning_processing/chapter_14/06_rotate_z.rb +24 -0
- data/samples/learning_processing/chapter_14/07_rotate_x.rb +24 -0
- data/samples/learning_processing/chapter_14/08_rotate_y.rb +24 -0
- data/samples/learning_processing/chapter_14/09_rotate_all.rb +24 -0
- data/samples/learning_processing/chapter_14/10_draw_pyramid.rb +59 -0
- data/samples/learning_processing/chapter_14/12_rotating_one_square.rb +25 -0
- data/samples/learning_processing/chapter_14/13_rotating_another_square.rb +25 -0
- data/samples/learning_processing/chapter_14/14_rotating_both_squares.rb +43 -0
- data/samples/learning_processing/chapter_14/15_rotating_many_things.rb +56 -0
- data/samples/learning_processing/chapter_14/16_simple_solar_system.rb +53 -0
- data/samples/learning_processing/chapter_14/17_nested_push_and_pop.rb +50 -0
- data/samples/learning_processing/chapter_14/18_object_oriented_solar_system.rb +69 -0
- data/samples/learning_processing/chapter_15/01_hello_world_image.rb +20 -0
- data/samples/learning_processing/chapter_15/02_image_sprite.rb +29 -0
- data/samples/learning_processing/chapter_15/03_swapping_images.rb +25 -0
- data/samples/learning_processing/chapter_15/04_image_sequence.rb +22 -0
- data/samples/learning_processing/chapter_15/05_setting_pixels.rb +19 -0
- data/samples/learning_processing/chapter_15/06_pixels_2d.rb +29 -0
- data/samples/learning_processing/chapter_15/07_image_pixels.rb +40 -0
- data/samples/learning_processing/chapter_15/08_image_brightness.rb +29 -0
- data/samples/learning_processing/chapter_15/09_flashlight_effect.rb +42 -0
- data/samples/learning_processing/chapter_15/10_brightness_threshold.rb +33 -0
- data/samples/learning_processing/chapter_15/11_brightness_threshold_with_filter.rb +20 -0
- data/samples/learning_processing/chapter_15/12_pixel_neighbour_differences.rb +43 -0
- data/samples/learning_processing/chapter_15/14_pointillism.rb +34 -0
- data/samples/learning_processing/chapter_15/15_2d_image_mapped_to_3d.rb +43 -0
- data/samples/learning_processing/chapter_15/data/animal0.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/animal1.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/animal2.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/animal3.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/animal4.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/animal5.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/animal6.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/face.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/mysummervacation.jpg +0 -0
- data/samples/learning_processing/chapter_15/data/sunflower.jpg +0 -0
- data/samples/learning_processing/chapter_16/01_display_video.rb +25 -0
- data/samples/learning_processing/chapter_16/02_manipulate_video_image.rb +24 -0
- data/samples/reflection.rb +26 -0
- data/samples/simple_buffer.rb +49 -0
- data/samples/tree.rb +83 -0
- metadata +348 -0
data/samples/tree.rb
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
# http://processing.org/learning/topics/tree.html
|
2
|
+
# by Joe Holt
|
3
|
+
|
4
|
+
require 'ruby-processing'
|
5
|
+
|
6
|
+
class Sketch < Processing::App
|
7
|
+
|
8
|
+
def setup
|
9
|
+
color_mode RGB, 1
|
10
|
+
frameRate 30
|
11
|
+
smooth
|
12
|
+
@x = 0.0
|
13
|
+
@dx = width / 100
|
14
|
+
@start_time = Time.now
|
15
|
+
@frame_time = nil
|
16
|
+
end
|
17
|
+
|
18
|
+
def radians(x)
|
19
|
+
return x * (Math::PI / 180)
|
20
|
+
end
|
21
|
+
|
22
|
+
def draw
|
23
|
+
t = Time.now
|
24
|
+
if @frame_time
|
25
|
+
fps = 1.0 / (t - @frame_time)
|
26
|
+
# printf "%0.1ffps\n", fps
|
27
|
+
end
|
28
|
+
@frame_time = t
|
29
|
+
|
30
|
+
background 0
|
31
|
+
stroke 1, 1, 1
|
32
|
+
# Let's pick an angle 0 to 90 degrees based on the mouse position
|
33
|
+
a = (@x / width) * 90
|
34
|
+
# Convert it to radians
|
35
|
+
@theta = radians(a)
|
36
|
+
# Start the tree from the bottom of the screen
|
37
|
+
translate(width/2,height)
|
38
|
+
# Draw a line 60 pixels
|
39
|
+
h = height / 3
|
40
|
+
line(0,0,0,-h)
|
41
|
+
# Move to the end of that line
|
42
|
+
translate(0,-h)
|
43
|
+
# Start the recursive branching!
|
44
|
+
branch(h)
|
45
|
+
|
46
|
+
@x += @dx
|
47
|
+
if @x < 0
|
48
|
+
puts "Time after this iteration: " + (Time.now - @start_time).to_s
|
49
|
+
end
|
50
|
+
if @x > width || @x < 0
|
51
|
+
@dx = - @dx
|
52
|
+
@x += @dx * 2
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
def branch(h)
|
57
|
+
# Each branch will be 2/3rds the size of the previous one
|
58
|
+
h *= 0.66;
|
59
|
+
|
60
|
+
# All recursive functions must have an exit condition!!!!
|
61
|
+
# Here, ours is when the length of the branch is 2 pixels or less
|
62
|
+
if h > 2
|
63
|
+
pushMatrix # Save the current state of transformation (i.e. where are we now)
|
64
|
+
rotate(@theta) # Rotate by theta
|
65
|
+
line(0,0,0,-h) # Draw the branch
|
66
|
+
translate(0,-h) # Move to the end of the branch
|
67
|
+
branch(h) # Ok, now call myself to draw two new branches!!
|
68
|
+
popMatrix # Whenever we get back here, we "pop" in order to restore the previous matrix state
|
69
|
+
|
70
|
+
# Repeat the same thing, only branch off to the "left" this time!
|
71
|
+
pushMatrix
|
72
|
+
rotate(- @theta)
|
73
|
+
line(0,0,0,-h)
|
74
|
+
translate(0,-h)
|
75
|
+
branch(h)
|
76
|
+
popMatrix
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
|
83
|
+
Sketch.new(:width => 200, :height => 200, :title => "Auto Tree")
|
metadata
ADDED
@@ -0,0 +1,348 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby-processing
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeremy Ashkenas
|
8
|
+
- Peter Gassner
|
9
|
+
- Martin Stannard
|
10
|
+
- Andrew Nanton
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
|
15
|
+
date: 2009-01-17 00:00:00 -05:00
|
16
|
+
default_executable: rp5
|
17
|
+
dependencies: []
|
18
|
+
|
19
|
+
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. * 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."
|
20
|
+
email: jeremy@ashkenas.com
|
21
|
+
executables:
|
22
|
+
- rp5
|
23
|
+
extensions: []
|
24
|
+
|
25
|
+
extra_rdoc_files:
|
26
|
+
- README
|
27
|
+
- CHANGELOG
|
28
|
+
- LICENSE
|
29
|
+
files:
|
30
|
+
- bin/rp5
|
31
|
+
- lib/core
|
32
|
+
- lib/core/core.jar
|
33
|
+
- lib/core/jruby-complete.jar
|
34
|
+
- lib/ruby-processing
|
35
|
+
- lib/ruby-processing/app.rb
|
36
|
+
- lib/ruby-processing/exporters
|
37
|
+
- lib/ruby-processing/exporters/applet_exporter.rb
|
38
|
+
- lib/ruby-processing/exporters/application_exporter.rb
|
39
|
+
- lib/ruby-processing/exporters/base_exporter.rb
|
40
|
+
- lib/ruby-processing/exporters/creator.rb
|
41
|
+
- lib/ruby-processing/helpers
|
42
|
+
- lib/ruby-processing/helpers/string.rb
|
43
|
+
- lib/ruby-processing/runner.rb
|
44
|
+
- lib/ruby-processing/runners
|
45
|
+
- lib/ruby-processing/runners/base.rb
|
46
|
+
- lib/ruby-processing/runners/live.rb
|
47
|
+
- lib/ruby-processing/runners/run.rb
|
48
|
+
- lib/ruby-processing/runners/watch.rb
|
49
|
+
- lib/ruby-processing.rb
|
50
|
+
- lib/templates
|
51
|
+
- lib/templates/applet
|
52
|
+
- lib/templates/applet/images
|
53
|
+
- lib/templates/applet/images/built_with.jpg
|
54
|
+
- lib/templates/applet/images/ruby.jpg
|
55
|
+
- lib/templates/applet/images/top.png
|
56
|
+
- lib/templates/applet/index.html.erb
|
57
|
+
- lib/templates/applet/library
|
58
|
+
- lib/templates/applet/library/library.txt
|
59
|
+
- lib/templates/application
|
60
|
+
- lib/templates/application/Contents
|
61
|
+
- lib/templates/application/Contents/Info.plist.erb
|
62
|
+
- lib/templates/application/Contents/MacOS
|
63
|
+
- lib/templates/application/Contents/MacOS/JavaApplicationStub
|
64
|
+
- lib/templates/application/Contents/PkgInfo
|
65
|
+
- lib/templates/application/Contents/Resources
|
66
|
+
- lib/templates/application/Contents/Resources/sketch.icns
|
67
|
+
- lib/templates/application/lib
|
68
|
+
- lib/templates/application/lib/args.txt.erb
|
69
|
+
- lib/templates/application/lib/library
|
70
|
+
- lib/templates/application/lib/library/library.txt
|
71
|
+
- lib/templates/application/lib/MANIFEST.MF
|
72
|
+
- lib/templates/application/run.erb
|
73
|
+
- lib/templates/application/run.exe
|
74
|
+
- lib/templates/create
|
75
|
+
- lib/templates/create/blank_sketch.rb.erb
|
76
|
+
- library/boids
|
77
|
+
- library/boids/boids.rb
|
78
|
+
- library/control_panel
|
79
|
+
- library/control_panel/control_panel.rb
|
80
|
+
- library/dxf
|
81
|
+
- library/dxf/bin
|
82
|
+
- library/dxf/bin/processing
|
83
|
+
- library/dxf/bin/processing/dxf
|
84
|
+
- library/dxf/bin/processing/dxf/RawDXF.class
|
85
|
+
- library/dxf/dxfviewer.jar
|
86
|
+
- library/dxf/library
|
87
|
+
- library/dxf/library/dxf.jar
|
88
|
+
- library/javascript
|
89
|
+
- library/javascript/library
|
90
|
+
- library/javascript/library/export.txt
|
91
|
+
- library/javascript/library/javascript.jar
|
92
|
+
- library/minim
|
93
|
+
- library/minim/library
|
94
|
+
- library/minim/library/jl1.0.jar
|
95
|
+
- library/minim/library/jsminim.jar
|
96
|
+
- library/minim/library/minim-spi.jar
|
97
|
+
- library/minim/library/minim.jar
|
98
|
+
- library/minim/library/mp3spi1.9.4.jar
|
99
|
+
- library/minim/library/tritonus_aos.jar
|
100
|
+
- library/minim/library/tritonus_share.jar
|
101
|
+
- library/minim/license.txt
|
102
|
+
- library/minim/version.txt
|
103
|
+
- library/net
|
104
|
+
- library/net/bin
|
105
|
+
- library/net/bin/processing
|
106
|
+
- library/net/bin/processing/net
|
107
|
+
- library/net/bin/processing/net/Client.class
|
108
|
+
- library/net/bin/processing/net/Server.class
|
109
|
+
- library/net/library
|
110
|
+
- library/net/library/net.jar
|
111
|
+
- library/opengl
|
112
|
+
- library/opengl/bin
|
113
|
+
- library/opengl/bin/processing
|
114
|
+
- library/opengl/bin/processing/opengl
|
115
|
+
- library/opengl/bin/processing/opengl/PGraphicsOpenGL$ImageCache.class
|
116
|
+
- library/opengl/bin/processing/opengl/PGraphicsOpenGL$TessCallback.class
|
117
|
+
- library/opengl/bin/processing/opengl/PGraphicsOpenGL.class
|
118
|
+
- library/opengl/library
|
119
|
+
- library/opengl/library/export.txt
|
120
|
+
- library/opengl/library/gluegen-rt-natives-linux-amd64.jar
|
121
|
+
- library/opengl/library/gluegen-rt-natives-linux-i586.jar
|
122
|
+
- library/opengl/library/gluegen-rt-natives-macosx-ppc.jar
|
123
|
+
- library/opengl/library/gluegen-rt-natives-macosx-universal.jar
|
124
|
+
- library/opengl/library/gluegen-rt-natives-windows-amd64.jar
|
125
|
+
- library/opengl/library/gluegen-rt-natives-windows-i586.jar
|
126
|
+
- library/opengl/library/gluegen-rt.dll
|
127
|
+
- library/opengl/library/gluegen-rt.jar
|
128
|
+
- library/opengl/library/gluegen-rt.jar.pack.gz
|
129
|
+
- library/opengl/library/jogl-natives-linux-amd64.jar
|
130
|
+
- library/opengl/library/jogl-natives-linux-i586.jar
|
131
|
+
- library/opengl/library/jogl-natives-macosx-ppc.jar
|
132
|
+
- library/opengl/library/jogl-natives-macosx-universal.jar
|
133
|
+
- library/opengl/library/jogl-natives-windows-amd64.jar
|
134
|
+
- library/opengl/library/jogl-natives-windows-i586.jar
|
135
|
+
- library/opengl/library/jogl.dll
|
136
|
+
- library/opengl/library/jogl.jar
|
137
|
+
- library/opengl/library/jogl.jar.pack.gz
|
138
|
+
- library/opengl/library/jogl_awt.dll
|
139
|
+
- library/opengl/library/jogl_cg.dll
|
140
|
+
- library/opengl/library/libgluegen-rt.jnilib
|
141
|
+
- library/opengl/library/libgluegen-rt.so
|
142
|
+
- library/opengl/library/libjogl.jnilib
|
143
|
+
- library/opengl/library/libjogl.so
|
144
|
+
- library/opengl/library/libjogl_awt.jnilib
|
145
|
+
- library/opengl/library/libjogl_awt.so
|
146
|
+
- library/opengl/library/libjogl_cg.jnilib
|
147
|
+
- library/opengl/library/libjogl_cg.so
|
148
|
+
- library/opengl/library/opengl.jar
|
149
|
+
- library/pdf
|
150
|
+
- library/pdf/bin
|
151
|
+
- library/pdf/bin/processing
|
152
|
+
- library/pdf/bin/processing/pdf
|
153
|
+
- library/pdf/bin/processing/pdf/PGraphicsPDF.class
|
154
|
+
- library/pdf/library
|
155
|
+
- library/pdf/library/itext.jar
|
156
|
+
- library/pdf/library/pdf.jar
|
157
|
+
- library/pdf/notes.txt
|
158
|
+
- library/serial
|
159
|
+
- library/serial/bin
|
160
|
+
- library/serial/bin/processing
|
161
|
+
- library/serial/bin/processing/serial
|
162
|
+
- library/serial/bin/processing/serial/Serial.class
|
163
|
+
- library/serial/library
|
164
|
+
- library/serial/library/export.txt
|
165
|
+
- library/serial/library/librxtxSerial.jnilib
|
166
|
+
- library/serial/library/librxtxSerial.so
|
167
|
+
- library/serial/library/RXTXcomm.jar
|
168
|
+
- library/serial/library/rxtxSerial.dll
|
169
|
+
- library/serial/library/serial.jar
|
170
|
+
- library/video
|
171
|
+
- library/video/bin
|
172
|
+
- library/video/bin/processing
|
173
|
+
- library/video/bin/processing/video
|
174
|
+
- library/video/bin/processing/video/Capture.class
|
175
|
+
- library/video/bin/processing/video/Movie.class
|
176
|
+
- library/video/bin/processing/video/MovieMaker.class
|
177
|
+
- library/video/library
|
178
|
+
- library/video/library/video.jar
|
179
|
+
- samples/animator.rb
|
180
|
+
- samples/circle_collision.rb
|
181
|
+
- samples/fern.rb
|
182
|
+
- samples/flight_patterns.rb
|
183
|
+
- samples/full_screen.rb
|
184
|
+
- samples/getting_started.rb
|
185
|
+
- samples/jwishy.rb
|
186
|
+
- samples/kinetic_type.rb
|
187
|
+
- samples/learning_processing
|
188
|
+
- samples/learning_processing/ABOUT
|
189
|
+
- samples/learning_processing/chapter_01
|
190
|
+
- samples/learning_processing/chapter_01/1_stroke_and_fill.rb
|
191
|
+
- samples/learning_processing/chapter_01/2_nofill.rb
|
192
|
+
- samples/learning_processing/chapter_01/3_rgb_color.rb
|
193
|
+
- samples/learning_processing/chapter_01/4_alpha_transparency.rb
|
194
|
+
- samples/learning_processing/chapter_01/5_zoog.rb
|
195
|
+
- samples/learning_processing/chapter_02
|
196
|
+
- samples/learning_processing/chapter_02/1_zoog_again.rb
|
197
|
+
- samples/learning_processing/chapter_03
|
198
|
+
- samples/learning_processing/chapter_03/1_zoog_as_dynamic_sketch.rb
|
199
|
+
- samples/learning_processing/chapter_03/2_mouse_x_and_mouse_y.rb
|
200
|
+
- samples/learning_processing/chapter_03/3_zoog_as_dynamic_sketch_with_variation.rb
|
201
|
+
- samples/learning_processing/chapter_03/4_drawing_a_continuous_line.rb
|
202
|
+
- samples/learning_processing/chapter_03/5_mouse_pressed_and_key_pressed.rb
|
203
|
+
- samples/learning_processing/chapter_03/6_interactive_zoog.rb
|
204
|
+
- samples/learning_processing/chapter_04
|
205
|
+
- samples/learning_processing/chapter_04/1_variable_declaration.rb
|
206
|
+
- samples/learning_processing/chapter_04/2_using_variables.rb
|
207
|
+
- samples/learning_processing/chapter_04/3_varying_variables.rb
|
208
|
+
- samples/learning_processing/chapter_04/4_many_variables.rb
|
209
|
+
- samples/learning_processing/chapter_04/5_using_system_variables.rb
|
210
|
+
- samples/learning_processing/chapter_04/6_ellipse_with_variables.rb
|
211
|
+
- samples/learning_processing/chapter_04/7_filling_variables_with_random_values.rb
|
212
|
+
- samples/learning_processing/chapter_04/8_variable_zoog.rb
|
213
|
+
- samples/learning_processing/chapter_05
|
214
|
+
- samples/learning_processing/chapter_05/01_conditionals.rb
|
215
|
+
- samples/learning_processing/chapter_05/02_more_conditionals.rb
|
216
|
+
- samples/learning_processing/chapter_05/03_rollovers.rb
|
217
|
+
- samples/learning_processing/chapter_05/04_hold_down_the_button.rb
|
218
|
+
- samples/learning_processing/chapter_05/05_button_as_switch.rb
|
219
|
+
- samples/learning_processing/chapter_05/06_bouncing_ball.rb
|
220
|
+
- samples/learning_processing/chapter_05/07_bouncing_color.rb
|
221
|
+
- samples/learning_processing/chapter_05/08_square_following_edge.rb
|
222
|
+
- samples/learning_processing/chapter_05/09_simple_gravity.rb
|
223
|
+
- samples/learning_processing/chapter_05/10_zoog_and_conditionals.rb
|
224
|
+
- samples/learning_processing/chapter_06
|
225
|
+
- samples/learning_processing/chapter_06/01_many_lines.rb
|
226
|
+
- samples/learning_processing/chapter_06/02_many_lines_with_variables.rb
|
227
|
+
- samples/learning_processing/chapter_06/03_while_loop.rb
|
228
|
+
- samples/learning_processing/chapter_06/04_infinite_loop.rb
|
229
|
+
- samples/learning_processing/chapter_06/05_another_infinite_loop.rb
|
230
|
+
- samples/learning_processing/chapter_06/06_legs_with_a_for_loop.rb
|
231
|
+
- samples/learning_processing/chapter_06/07_local_variables.rb
|
232
|
+
- samples/learning_processing/chapter_06/08_lines_one_at_a_time.rb
|
233
|
+
- samples/learning_processing/chapter_06/09_simple_while_loop_with_interactivity.rb
|
234
|
+
- samples/learning_processing/chapter_06/10_zoog_with_arms.rb
|
235
|
+
- samples/learning_processing/chapter_06/11_multiple_zoogs.rb
|
236
|
+
- samples/learning_processing/chapter_07
|
237
|
+
- samples/learning_processing/chapter_07/01_defining_a_function.rb
|
238
|
+
- samples/learning_processing/chapter_07/02_calling_a_function.rb
|
239
|
+
- samples/learning_processing/chapter_07/03_bouncing_ball_with_functions.rb
|
240
|
+
- samples/learning_processing/chapter_07/04_function_returns_distance.rb
|
241
|
+
- samples/learning_processing/chapter_07/05_zoog_with_functions.rb
|
242
|
+
- samples/learning_processing/chapter_08
|
243
|
+
- samples/learning_processing/chapter_08/01_car_class_and_car_variable.rb
|
244
|
+
- samples/learning_processing/chapter_08/02_two_car_objects.rb
|
245
|
+
- samples/learning_processing/chapter_08/03_object_oriented_zoog.rb
|
246
|
+
- samples/learning_processing/chapter_10
|
247
|
+
- samples/learning_processing/chapter_10/01_catcher.rb
|
248
|
+
- samples/learning_processing/chapter_10/02_bouncing_ball.rb
|
249
|
+
- samples/learning_processing/chapter_10/03_bouncing_balls_with_intersection.rb
|
250
|
+
- samples/learning_processing/chapter_10/04_a_timer.rb
|
251
|
+
- samples/learning_processing/chapter_10/05_object_oriented_timer.rb
|
252
|
+
- samples/learning_processing/chapter_10/06_simple_raindrop.rb
|
253
|
+
- samples/learning_processing/chapter_10/07_drops_one_at_a_time.rb
|
254
|
+
- samples/learning_processing/chapter_13
|
255
|
+
- samples/learning_processing/chapter_13/02_random_number_distribution.rb
|
256
|
+
- samples/learning_processing/chapter_13/03_probabilities.rb
|
257
|
+
- samples/learning_processing/chapter_13/04_perlin_noise.rb
|
258
|
+
- samples/learning_processing/chapter_13/06_oscillation.rb
|
259
|
+
- samples/learning_processing/chapter_13/07_wave.rb
|
260
|
+
- samples/learning_processing/chapter_13/08_recursion.rb
|
261
|
+
- samples/learning_processing/chapter_13/09_two_dimensional_array.rb
|
262
|
+
- samples/learning_processing/chapter_13/10_two_dimensional_array_with_objects.rb
|
263
|
+
- samples/learning_processing/chapter_14
|
264
|
+
- samples/learning_processing/chapter_14/01_growing_rectangle.rb
|
265
|
+
- samples/learning_processing/chapter_14/02_multiple_translations.rb
|
266
|
+
- samples/learning_processing/chapter_14/03_depth_rectangle.rb
|
267
|
+
- samples/learning_processing/chapter_14/04_pyramid_using_beingshape.rb
|
268
|
+
- samples/learning_processing/chapter_14/05_rotate_rectangle_around_center.rb
|
269
|
+
- samples/learning_processing/chapter_14/06_rotate_z.rb
|
270
|
+
- samples/learning_processing/chapter_14/07_rotate_x.rb
|
271
|
+
- samples/learning_processing/chapter_14/08_rotate_y.rb
|
272
|
+
- samples/learning_processing/chapter_14/09_rotate_all.rb
|
273
|
+
- samples/learning_processing/chapter_14/10_draw_pyramid.rb
|
274
|
+
- samples/learning_processing/chapter_14/12_rotating_one_square.rb
|
275
|
+
- samples/learning_processing/chapter_14/13_rotating_another_square.rb
|
276
|
+
- samples/learning_processing/chapter_14/14_rotating_both_squares.rb
|
277
|
+
- samples/learning_processing/chapter_14/15_rotating_many_things.rb
|
278
|
+
- samples/learning_processing/chapter_14/16_simple_solar_system.rb
|
279
|
+
- samples/learning_processing/chapter_14/17_nested_push_and_pop.rb
|
280
|
+
- samples/learning_processing/chapter_14/18_object_oriented_solar_system.rb
|
281
|
+
- samples/learning_processing/chapter_15
|
282
|
+
- samples/learning_processing/chapter_15/01_hello_world_image.rb
|
283
|
+
- samples/learning_processing/chapter_15/02_image_sprite.rb
|
284
|
+
- samples/learning_processing/chapter_15/03_swapping_images.rb
|
285
|
+
- samples/learning_processing/chapter_15/04_image_sequence.rb
|
286
|
+
- samples/learning_processing/chapter_15/05_setting_pixels.rb
|
287
|
+
- samples/learning_processing/chapter_15/06_pixels_2d.rb
|
288
|
+
- samples/learning_processing/chapter_15/07_image_pixels.rb
|
289
|
+
- samples/learning_processing/chapter_15/08_image_brightness.rb
|
290
|
+
- samples/learning_processing/chapter_15/09_flashlight_effect.rb
|
291
|
+
- samples/learning_processing/chapter_15/10_brightness_threshold.rb
|
292
|
+
- samples/learning_processing/chapter_15/11_brightness_threshold_with_filter.rb
|
293
|
+
- samples/learning_processing/chapter_15/12_pixel_neighbour_differences.rb
|
294
|
+
- samples/learning_processing/chapter_15/14_pointillism.rb
|
295
|
+
- samples/learning_processing/chapter_15/15_2d_image_mapped_to_3d.rb
|
296
|
+
- samples/learning_processing/chapter_15/data
|
297
|
+
- samples/learning_processing/chapter_15/data/animal0.jpg
|
298
|
+
- samples/learning_processing/chapter_15/data/animal1.jpg
|
299
|
+
- samples/learning_processing/chapter_15/data/animal2.jpg
|
300
|
+
- samples/learning_processing/chapter_15/data/animal3.jpg
|
301
|
+
- samples/learning_processing/chapter_15/data/animal4.jpg
|
302
|
+
- samples/learning_processing/chapter_15/data/animal5.jpg
|
303
|
+
- samples/learning_processing/chapter_15/data/animal6.jpg
|
304
|
+
- samples/learning_processing/chapter_15/data/face.jpg
|
305
|
+
- samples/learning_processing/chapter_15/data/mysummervacation.jpg
|
306
|
+
- samples/learning_processing/chapter_15/data/sunflower.jpg
|
307
|
+
- samples/learning_processing/chapter_16
|
308
|
+
- samples/learning_processing/chapter_16/01_display_video.rb
|
309
|
+
- samples/learning_processing/chapter_16/02_manipulate_video_image.rb
|
310
|
+
- samples/reflection.rb
|
311
|
+
- samples/simple_buffer.rb
|
312
|
+
- samples/tree.rb
|
313
|
+
- README
|
314
|
+
- CHANGELOG
|
315
|
+
- LICENSE
|
316
|
+
has_rdoc: true
|
317
|
+
homepage: http://wiki.github.com/jashkenas/ruby-processing
|
318
|
+
post_install_message:
|
319
|
+
rdoc_options:
|
320
|
+
- --line-numbers
|
321
|
+
- --inline-source
|
322
|
+
- --title
|
323
|
+
- Ruby-Processing
|
324
|
+
- --main
|
325
|
+
- README
|
326
|
+
require_paths:
|
327
|
+
- lib
|
328
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
329
|
+
requirements:
|
330
|
+
- - ">="
|
331
|
+
- !ruby/object:Gem::Version
|
332
|
+
version: "0"
|
333
|
+
version:
|
334
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
|
+
requirements:
|
336
|
+
- - ">="
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: "0"
|
339
|
+
version:
|
340
|
+
requirements: []
|
341
|
+
|
342
|
+
rubyforge_project: ruby-processing
|
343
|
+
rubygems_version: 1.3.1
|
344
|
+
signing_key:
|
345
|
+
specification_version: 2
|
346
|
+
summary: Code as Art, Art as Code. Processing and Ruby are meant for each other.
|
347
|
+
test_files: []
|
348
|
+
|