You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-14Lines changed: 28 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,21 @@
1
-
# JRubyArt-examples for JRubyArt-1.2.4+
2
-
JRubyArt-examples
1
+
# JRubyArt-examples for JRubyArt-1.3.0+
2
+
Description
3
3
================
4
4
5
-
Rakefiles amended to use `-r` in place of `run`
6
-
7
-
Many of the vanilla processing example sketches have been translated to ruby-processing, and they are mainly written as 'bare' sketches (ie not class wrapped) in keeping with the original processing. At runtime these sketches the get wrapped into a Sketch class. Should you prefer you can still write class wrapped sketches, these will work equally well with jruby_art. You should also checkout the [Nature of Code Examples in ruby][] and for the beginner [Learning Processing with Ruby][] for even more examples.
8
-
Includes autorun Rakefiles:-
5
+
Like the original `ruby-processing`, `JRubyArt` is like a DSL for vanilla `processing`, so sketches can be written as **bare** sketches (ie they do not require a **class** wrapper, JRubyArt does that for you as does vanilla processing cf [propane][propane]). Here you will find many of the processing example sketches have been translated to ruby as **bare** sketches) but you can add a **class** wrapper if that suits you. You should also checkout the [Nature of Code Examples in ruby][] and for the beginner [Learning Processing with Ruby][] for even more examples. Many sketch folders includes autorun Rakefiles, and some of these can be run from the root directory as a demo:-
9
6
10
7
1. in a console cd `k9_samples` directory
11
-
2. and `rake` to run all the autorun examples (not all the examples)
12
-
3. or eg `rake hype` to just run the hype library examples (depends on an installed hype library).
8
+
2. and `rake` to run all the core examples (excludes gem examples etc)
9
+
3.`rake hype` to just run the hype library examples (depends on an installed hype library).
10
+
4.`rake wordcram` to just run the wordcram gem examples (depends on an installed ruby_wordcram gem).
11
+
5.`rake pbox2d` to just run the pbox2d gem examples (depends on an installed gem).
0 commit comments