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
+3-8Lines changed: 3 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ A suitable version of ruby (MRI `ruby 2.4+` or `jruby-9.1.16.0`) to download gem
14
14
15
15
`processing-3.3.7`
16
16
17
-
`jdk1.8.0_151+` can be openjdk with OpenJFX _a separate download works on ArchLinux_, currently FX2D is still experimental but might in the future replace JAVA2D as default renderer, however for hardware graphics acceleration there is alway P2D / P3D. NB: if you want to use jdk9 use [propane-2.7.0](https://github.com/ruby-processing/propane) instead of JRubyArt.
17
+
`jdk1.8.0_151+` can be openjdk with OpenJFX _a separate download works on ArchLinux_, currently FX2D is still experimental but might in the future replace JAVA2D as default renderer, however for hardware graphics acceleration there is alway P2D / P3D. NB: if you want to use jdk9 use [propane-2.7.1](https://github.com/ruby-processing/propane) instead of JRubyArt.
18
18
19
19
### recommended installs (JRubyArt is currently hard-coded to expect them)
20
20
@@ -54,7 +54,7 @@ To create either a `class` wrapped sketch or `emacs` sketch set `template: class
54
54
55
55
## Simple Sketch
56
56
```ruby
57
-
# :sketch_title belongs in --it is a convenience method of jruby_art-3.0+
57
+
58
58
defsetup
59
59
sketch_title 'My Sketch'
60
60
end
@@ -65,11 +65,6 @@ def draw
65
65
ellipse width /2, height /2, 300, 200
66
66
end
67
67
68
-
# NB: changes for processing-3.0+
69
-
# size, full_screen, pixel_density and smooth should all be moved to settings (this is hidden
70
-
# to users of processing ide, but not for JRubyArt, or for Eclipse NetBeans users). The FX2D
71
-
# rendering mode was introduced, and was expected to replace JAVA2D (as default rendering mode)
72
-
# but may not now happen, and not for processing-3.3 in any case.
73
68
defsettings
74
69
size 400, 300
75
70
end
@@ -88,7 +83,7 @@ k9 --live sketch.rb # pry is bound to Processing.app # needs `jruby -S gem insta
88
83
```
89
84
## Example sketches
90
85
91
-
[Worked Examples](https://github.com/ruby-processing/JRubyArt-examples) and, [The-Nature-of-Code-Examples-for-JRubyArt](https://github.com/ruby-processing/The-Nature-of-Code-for-JRubyArt) feel free to add your own, especially ruby-2.2+ syntax now we can. These can now be downloaded using `k9 --install` please move existing `k9_samples` if you wish to keep them. The recent releases feature several PixelFlow glsl library examples, including a few shadertoy demos as sketches.
86
+
[Worked Examples](https://github.com/ruby-processing/JRubyArt-examples) and, [The-Nature-of-Code-Examples-for-JRubyArt](https://github.com/ruby-processing/The-Nature-of-Code-for-JRubyArt) feel free to add your own, especially ruby-2.2+ syntax now we can. These can now be downloaded using `k9 --install` please move existing `k9_samples` if you wish to keep them. The current releases features changes to `control_panel` reducing boilerplate sketches required to use library.
0 commit comments