Skip to content

Commit bf5137e

Browse files
committed
readme update and stand alone app
1 parent 8d4ddf8 commit bf5137e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2111
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ simple live coding
22
===============
33

44
This is a proof of concept for a live drawing app in Ruby with
5-
the [Ruby-Processing Gem (based on processing-2.0.1, and jruby-1.7.4)](https://github.com/jashkenas/ruby-processing)
5+
the [Ruby-Processing Gem (based on processing-2.0.1, and jruby-1.7.4)](https://github.com/monkstone/ruby-processing)
66

7-
Get inspired by [Bret Victor](file://localhost/Users/macbell/code/3Projecte/simple_live_coding/simple_live_coding.app/lib/templates/applet/index.html) or join the project with your own idea..
7+
Get inspired by [Bret Victor](http://worrydream.com/#!/LearnableProgramming) or join the project with your own idea..
8+
9+
![drawing from a 6 year old girl](http://i43.tinypic.com/15n8x9v.jpg)
10+
This drawing was made from a 6 year old girl at the CoderDojo cologne...
11+
12+
There is a stand alone app to play with without need of installing all stuff.
13+
With "ellipse 50 50 80 80" or "rect/line/fill" you can draw and with mouse dragging change the values.

library/parse/parse.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ def initialize(lines, cursor)
77

88
def update_line(key, key_code)
99
case key_code
10+
when 16
11+
#do nothing because shift was pressed
1012
when 10 #after return ad a new line
1113
#check cursor for new line position
1214
@lines.new_or_next_line(@cursor)
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleName</key>
6+
<string>simple_live_coding</string>
7+
<key>CFBundleVersion</key>
8+
<string>1.0</string>
9+
<key>CFBundleAllowMixedLocalizations</key>
10+
<string>true</string>
11+
<key>CFBundleExecutable</key>
12+
<string>JavaApplicationStub</string>
13+
<key>CFBundleDevelopmentRegion</key>
14+
<string>English</string>
15+
<key>CFBundlePackageType</key>
16+
<string>APPL</string>
17+
<key>CFBundleSignature</key>
18+
<string>????</string>
19+
<key>CFBundleInfoDictionaryVersion</key>
20+
<string>6.0</string>
21+
<key>CFBundleIconFile</key>
22+
<string>sketch.icns</string>
23+
<key>CFBundleIdentifier</key>
24+
<string>org.ruby-processing.RubyDraw</string>
25+
<key>Java</key>
26+
<dict>
27+
<key>VMOptions</key>
28+
<string>-Xms128M -Xmx256M</string>
29+
<key>MainClass</key>
30+
<string>org.jruby.Main</string>
31+
<key>WorkingDirectory</key>
32+
<string>$JAVAROOT</string>
33+
<key>Arguments</key>
34+
<string>ruby-processing/runners/run.rb simple_live_coding.rb</string>
35+
<key>JVMVersion</key>
36+
<string>1.3+</string>
37+
<key>ClassPath</key>
38+
<string>$JAVAROOT/core/jruby-complete.jar</string>
39+
<key>Properties</key>
40+
<dict>
41+
<key>apple.laf.useScreenMenuBar</key>
42+
<string>true</string>
43+
<key>apple.awt.showGrowBox</key>
44+
<string>false</string>
45+
<key>com.apple.smallTabs</key>
46+
<string>true</string>
47+
<key>apple.awt.Antialiasing</key>
48+
<string>false</string>
49+
<key>apple.awt.TextAntialiasing</key>
50+
<string>true</string>
51+
<key>com.apple.hwaccel</key>
52+
<string>true</string>
53+
<key>apple.awt.use-file-dialog-packages</key>
54+
<string>false</string>
55+
</dict>
56+
</dict>
57+
</dict>
58+
</plist>
46.6 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
APPL????
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../lib
98.5 KB
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Created-By: JRuby
3+
Main-Class: org.jruby.Main
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
org.jruby.Main lib/ruby-processing/runners/run.rb lib/simple_live_coding.rb
3+
core/jruby-complete.jar
179 KB
Binary file not shown.

0 commit comments

Comments
 (0)