Skip to content

Commit 8aba03f

Browse files
committed
fix fence
1 parent eb40656 commit 8aba03f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/_posts/2015-11-25-bubbles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ categories: geomerativegem update
77

88
### Bubble Sketch
99

10-
To use the `RCommand` constant `UNIFORMLENGTH` in JRubyArt (and java constants in general with jruby) you would normally need to address it in the following way:- `Java::Generative::RCommand::UNIFORMLENGTH`. However in the geomerative gem we have done `package_include 'geomerative'` for you so you can get away with the short form `RCommand::UNIFORMLENGTH`, but you do need the `RCommand::` prefix. For processing constants the full form for the `CENTER` constant would be `Java::ProcessingCore::PConstants::CENTER` but because we hate typing we have made the processing constant `CENTER` available without the `PConstants::` prefix. If you have namespace difficulties you can always fall back on the full forms.
10+
To use the `RCommand` constant `UNIFORMLENGTH` in JRubyArt (and java constants in general with jruby) you would normally need to address it in the following way:- `Java::Generative::RCommand::UNIFORMLENGTH`. However in the geomerative gem we have done `package_include 'geomerative'` for you so you can get away with the short form `RCommand::UNIFORMLENGTH`, but you do need the `RCommand::` prefix. For processing constants the full form for the `CENTER` constant would be `Java::ProcessingCore::PConstants::CENTER` but because we hate typing we have made the processing constant `CENTER` available without the `PConstants::` prefix. If you have namespace difficulties you can always fall back on the full forms.
1111

1212
To make processing methods available in the `FontAgent` class (`font_agent.rb`) we `include` the `Processing::Proxy` module that gives similar access to that of a java inner class as used in vanilla processing.
1313

@@ -77,7 +77,7 @@ def key_pressed
7777
@step -= 1
7878
end
7979
end
80-
80+
```
8181

8282
### FontAgent class
8383
```ruby
@@ -106,6 +106,6 @@ class FontAgent
106106
ellipse(loc.x, loc.y, mot + step, mot + step)
107107
end
108108
end
109-
109+
```
110110

111111
![bubbles.png]({{ site.github.url }}/assets/bubbles.png)

docs/_posts/2015-11-26-extra_bright.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def draw
6666
point.display(xr: xr, yr: yr, m_point: m_point)
6767
end
6868
end
69-
69+
```
7070

7171
### FontAgent class
7272
```ruby
@@ -98,6 +98,6 @@ class FontAgent
9898
ellipse(loc.x + rand(-xr..xr), loc.y + rand(-yr..yr), dia, dia)
9999
end
100100
end
101-
101+
```
102102

103103
![bright.png]({{ site.github.url }}/assets/bright.png)

docs/_posts/2015-11-26-text_merge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def key_pressed
104104
save_frame(data_path('000_###.png'))
105105
end
106106
end
107-
107+
```
108108

109109
<iframe src="https://player.vimeo.com/video/56827310" width="500" height="276" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
110110
<!-- In case video goes missing

docs/_posts/2016-07-06-dymo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ categories: geomerativegem update
77

88
### Text Along a Geomerative Path
99

10-
To use the `RCommand` constant `UNIFORMLENGTH` in JRubyArt (and java constants in general with jruby) you would normally need to address it in the following way:- `Java::Generative::RCommand::UNIFORMLENGTH`. However in the geomerative gem we have done `package_include 'geomerative'` for you so you can get away with the short form `RCommand::UNIFORMLENGTH`, but you do need the `RCommand::` prefix. For processing constants the full form for the `RIGHT` constant would be `Java::ProcessingCore::PConstants::RIGHT` but because we hate typing we have made the processing constant `RIGHT` available without the `PConstants::` prefix. If you have namespace difficulties you can always fall back on the full forms.
10+
To use the `RCommand` constant `UNIFORMLENGTH` in JRubyArt (and java constants in general with jruby) you would normally need to address it in the following way:- `Java::Generative::RCommand::UNIFORMLENGTH`. However in the geomerative gem we have done `package_include 'geomerative'` for you so you can get away with the short form `RCommand::UNIFORMLENGTH`, but you do need the `RCommand::` prefix. For processing constants the full form for the `RIGHT` constant would be `Java::ProcessingCore::PConstants::RIGHT` but because we hate typing we have made the processing constant `RIGHT` available without the `PConstants::` prefix. If you have namespace difficulties you can always fall back on the full forms.
1111

1212
```ruby
1313
# Louis Christodoulou (louis -at- louisc.co.uk)
@@ -93,7 +93,7 @@ end
9393
def get_angle(p1, p2)
9494
atan2(p2.y - p1.y, p2.x - p1.x)
9595
end
96-
96+
```
9797

9898

9999
![dymo.png]({{ site.github.url }}/assets/dymo.png)

0 commit comments

Comments
 (0)