picrate 2.0.1-java → 2.3.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.mvn/extensions.xml +1 -1
  3. data/.mvn/wrapper/MavenWrapperDownloader.java +1 -1
  4. data/.mvn/wrapper/maven-wrapper.properties +2 -2
  5. data/CHANGELOG.md +10 -0
  6. data/README.md +6 -3
  7. data/Rakefile +2 -1
  8. data/docs/_includes/footer.html +1 -1
  9. data/docs/_layouts/post.html +1 -1
  10. data/docs/_methods/alternative_methods.md +2 -1
  11. data/docs/_methods/noise_mode.md +88 -0
  12. data/docs/_posts/2018-05-06-install_jruby.md +3 -3
  13. data/docs/_posts/2018-11-18-building-gem.md +3 -1
  14. data/docs/_posts/2020-03-09-auto_install_picrate.md +2 -3
  15. data/docs/_posts/2020-05-11-getting_started_manjaro.md +20 -8
  16. data/docs/classes.md +2 -2
  17. data/docs/editors.md +2 -2
  18. data/docs/gems.md +3 -3
  19. data/docs/index.html +1 -1
  20. data/docs/libraries.md +2 -2
  21. data/docs/live.md +2 -2
  22. data/docs/magic.md +2 -2
  23. data/docs/methods.md +2 -2
  24. data/docs/modules.md +3 -3
  25. data/docs/objects.md +2 -2
  26. data/lib/picrate.rb +2 -1
  27. data/lib/picrate/app.rb +7 -2
  28. data/lib/picrate/helper_methods.rb +1 -1
  29. data/lib/picrate/native_folder.rb +1 -3
  30. data/lib/picrate/runner.rb +4 -4
  31. data/lib/picrate/version.rb +1 -1
  32. data/library/jcomplex/jcomplex.rb +1 -0
  33. data/library/pdf/pdf.rb +6 -0
  34. data/mvnw +2 -2
  35. data/mvnw.cmd +2 -2
  36. data/picrate.gemspec +3 -2
  37. data/pom.rb +22 -8
  38. data/pom.xml +27 -5
  39. data/src/main/java/monkstone/PicrateLibrary.java +1 -1
  40. data/src/main/java/monkstone/complex/JComplex.java +252 -0
  41. data/src/main/java/monkstone/fastmath/DegLutTables.java +111 -0
  42. data/src/main/java/monkstone/fastmath/Deglut.java +41 -93
  43. data/src/main/java/monkstone/noise/FastTerrain.java +874 -0
  44. data/src/main/java/monkstone/noise/Noise.java +90 -0
  45. data/src/main/java/monkstone/noise/NoiseGenerator.java +75 -0
  46. data/src/main/java/monkstone/noise/NoiseMode.java +28 -0
  47. data/src/main/java/monkstone/noise/OpenSimplex2F.java +881 -0
  48. data/src/main/java/monkstone/noise/OpenSimplex2S.java +1106 -0
  49. data/src/main/java/monkstone/noise/SmoothTerrain.java +1099 -0
  50. data/src/main/java/monkstone/vecmath/package-info.java +1 -1
  51. data/src/main/java/monkstone/vecmath/vec3/Vec3.java +1 -1
  52. data/src/main/java/monkstone/videoevent/package-info.java +1 -1
  53. data/src/main/java/processing/awt/PGraphicsJava2D.java +22 -23
  54. data/src/main/java/processing/awt/PImageAWT.java +377 -0
  55. data/src/main/java/processing/awt/ShimAWT.java +711 -0
  56. data/src/main/java/processing/core/PApplet.java +14880 -14101
  57. data/src/main/java/processing/core/PConstants.java +5 -5
  58. data/src/main/java/processing/core/PFont.java +1 -1
  59. data/src/main/java/processing/core/PGraphics.java +284 -271
  60. data/src/main/java/processing/core/PImage.java +1620 -1815
  61. data/src/main/java/processing/core/PShape.java +18 -18
  62. data/src/main/java/processing/core/PSurface.java +105 -139
  63. data/src/main/java/processing/core/PSurfaceNone.java +29 -0
  64. data/src/main/java/processing/core/PVector.java +23 -23
  65. data/src/main/java/processing/data/Table.java +4 -4
  66. data/src/main/java/processing/net/Client.java +13 -13
  67. data/src/main/java/processing/net/Server.java +5 -5
  68. data/src/main/java/processing/opengl/PGL.java +649 -3699
  69. data/src/main/java/processing/opengl/PGraphicsOpenGL.java +2503 -2278
  70. data/src/main/java/processing/opengl/PJOGL.java +374 -1526
  71. data/src/main/java/processing/opengl/PSurfaceJOGL.java +220 -86
  72. data/src/main/java/processing/pdf/PGraphicsPDF.java +607 -0
  73. data/test/deglut_spec_test.rb +2 -2
  74. data/test/respond_to_test.rb +0 -1
  75. data/vendors/Rakefile +33 -21
  76. data/vendors/{picrate_sketches.geany → geany.rb} +32 -7
  77. metadata +24 -9
  78. data/src/main/java/monkstone/noise/SimplexNoise.java +0 -465
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7698cb99a4ff6ebff96bc82f20a3121bda1af52118a1cdcfd48942bec2ed7a4
4
- data.tar.gz: 42555f15e9ed7f238283878ec6291f84242d3a3782b5d9d41c23abc62eed45dd
3
+ metadata.gz: 2e297a6447b346b596fdc87a909fe388a0cd42f7f8a7f4b2a48d523bba03a2e6
4
+ data.tar.gz: 8d0ead8d48a2c9a05caa6e0e27674f433af3acea1c1fd9045f19aa00f45f08db
5
5
  SHA512:
6
- metadata.gz: a3c695a7cbbb47660d0cf472ac1ce50e859ecdb4e6271bdb6b9e1862a9a94b479a58ad4be146632d245322660995d020b517ae171acc665a252e41a885cc4757
7
- data.tar.gz: 94eaeb3df23ea29ad3bf58cfd8b1d8a5008c21133c52a76bbf709b87a1c0954fcaca6bcc4457d3d804c92c761fdcfc62e202bb26b947bef4c8a4fdd89b851563
6
+ metadata.gz: e1f3cdf8c0d0e22193b6d2686a4b0d5bb2f37129e5df058086b5279ca2711fdd6eee91d6701cccc59c7c564db2012da86fad2cfd648df31ed6f091e1166b4409
7
+ data.tar.gz: 7df4dfab9072b06f42190aa042fa47cb91979f323f3040b6697b799e31dfff79ca4f6b12f7998bd7909ca8dcb90566ab152fd1ab4e50f639b597671b6885e8a5
data/.mvn/extensions.xml CHANGED
@@ -3,7 +3,7 @@
3
3
  <extension>
4
4
  <groupId>io.takari.polyglot</groupId>
5
5
  <artifactId>polyglot-ruby</artifactId>
6
- <version>0.4.3
6
+ <version>0.4.6
7
7
  </version>
8
8
  </extension>
9
9
  </extensions>
@@ -20,7 +20,7 @@ import java.util.Properties;
20
20
 
21
21
  public class MavenWrapperDownloader {
22
22
 
23
- private static final String WRAPPER_VERSION = "0.5.5";
23
+ private static final String WRAPPER_VERSION = "0.5.6";
24
24
  /**
25
25
  * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
26
26
  */
@@ -1,2 +1,2 @@
1
- distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.1/apache-maven-3.6.1-bin.zip
2
- wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
1
+ distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
2
+ wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ v2.3.0 Abandon Processing Value Noise in favour of OpenSimplex2, with choosable options. Added pdf library using iText5.
2
+
3
+ v2.2.0 Bump to latest JOGL-rc January 2021
4
+
5
+ v2.1.2 Bump to JRuby-9.2.14.0
6
+
7
+ v2.1.1 Bump to JRuby-9.2.13.0, include examples using ruby `clamp` in place of processing `constrain`, update to video-2.0 release, add run instruction to help
8
+
9
+ v2.1.0 Refactor how we configure geany so we can use ENV['HOME'] rather hard code config file. Bump to JRuby-9.2.12.0, include Sam Pottingers July 2020 staging changes.
10
+
1
11
  v2.0.1 Use JOGL-2.4.0-rc fixes reflection warnings, remove geomerative and wordcram gem dependencies since can now be in step with JRubyArt and propane (re jdk compatibility), bump version for release. Removed Gottfreid Haider shaders, warn legacy driver doesn't work with P2D and P3D sketches. Support aarch64 architecture on RaspberriPI4.
2
12
 
3
13
  v2.0.0 Use JDK11+ update to processing-3.5.4 suggest jruby-9.2.11.0
data/README.md CHANGED
@@ -14,19 +14,19 @@ jgem install picrate
14
14
 
15
15
  Clone main branch:-
16
16
 
17
- Requires java to build (and jogl-2.4.0-rc jars), but uses a maven wrapper so you don't need to install maven. Suggest build/test on regular linux box, but is designed for use on both RaspberryPI 3B+ and RaspberryPI4. Needs installed jruby to test/run.
17
+ Requires java to build (and [jogl-2.4.0-rc jars][jogl_jars]), but uses a maven wrapper so you don't need to install maven. Suggest build/test on regular linux box, but is designed for use on both RaspberryPI 3B+ and RaspberryPI4. Needs installed jruby to test/run.
18
18
 
19
19
  ```bash
20
20
  cd PiCrate # or whatever you call it
21
21
  rake # assumes an installed version of vanilla processing
22
- jgem install picrate-2.0.1-java.gem
22
+ jgem install picrate-2.2.0-java.gem
23
23
 
24
24
  ```
25
25
  To create a template sketch:-
26
26
  ```bash
27
27
  picrate -c my_sketch 200 200
28
28
  ```
29
- Edit sketch (vim is a good choice):-
29
+ Edit sketch ([vim][vim] is a good choice, but we recommend [geany][geany]) :-
30
30
  ```ruby
31
31
  #!/usr/bin/env jruby
32
32
  # frozen_string_literal: false
@@ -57,3 +57,6 @@ jruby --dev my_sketch.rb # --dev flag speeds start-up
57
57
 
58
58
  [buster]:https://gist.github.com/monkstone/6ae9840d7b7008c177b4a9f589d14ec6
59
59
  [propane]:https://ruby-processing.github.io/propane/
60
+ [vim]:https://github.com/ruby-processing/PiCrate/blob/master/docs/_editors/vim.md
61
+ [geany]:https://github.com/ruby-processing/PiCrate/blob/master/docs/_editors/geany.md
62
+ [jogl_jars]:https://jogamp.org/deployment/archive/rc/v2.4.0-rc-20210111/jar/
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ task default: %i[init compile install test gem]
9
9
  # Currently depends on local jogl-2.4.0 jars on path ~/jogl24
10
10
  desc 'Copy Jars'
11
11
  task :init do
12
- jogl24 = File.join(HOME_DIR, 'jogl24')
12
+ jogl24 = File.join(HOME_DIR, 'jogl-2.4-rc2021011')
13
13
  opengl = Dir.entries(jogl24).grep(/amd64|armv6hf|aarch64/).select { |jar| jar =~ /linux/ }
14
14
  opengl.concat %w[jogl-all.jar gluegen-rt.jar]
15
15
  opengl.each do |gl|
@@ -19,6 +19,7 @@ end
19
19
 
20
20
  desc 'Install'
21
21
  task :install do
22
+ sh "mvn dependency:copy"
22
23
  FileUtils.mv "target/picrate-#{PiCrate::VERSION}.jar", 'lib'
23
24
  end
24
25
 
@@ -29,7 +29,7 @@
29
29
  </div>
30
30
 
31
31
  <div class="footer-col footer-col-3">
32
- <p>{{ site.description }}</p>
32
+ <p>{{ site.description }}
33
33
  </div>
34
34
  </div>
35
35
 
@@ -5,7 +5,7 @@ layout: default
5
5
 
6
6
  <header class="post-header">
7
7
  <h1 class="post-title">{{ page.title }}</h1>
8
- <p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
8
+ <p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}
9
9
  </header>
10
10
 
11
11
  <article class="post-content">
@@ -28,8 +28,9 @@ Here is a list of ruby alternatives to some 'processing' convenience methods; wh
28
28
  | |`second` |`t.second` |
29
29
  | |`year` |`t.year` |
30
30
  |custom math |`map(x, b0, eo, b1, e1)`|`map1d(x, (b0..e0), (b1..e1))`|
31
- | |`map(x, b0, eo, b1, e1)`|`p5map(x, b0, e0, b1, e1)`|
32
31
  | |`max(array) `|`array.max` |
32
+ | |`map(x, b0, eo, b1, e1)`|`p5map(x, b0, e0, b1, e1)`|
33
+ | |`constrain(x, lo, hi)` |`x.clamp(lo, hi)` |
33
34
  | |`min(array) `|`array.min` |
34
35
  |conversion |`degrees(theta)` |`theta.degrees` |
35
36
  |conversion |`radians(theta)` |`theta.radians` |
@@ -0,0 +1,88 @@
1
+ ---
2
+ layout: post
3
+ title: "noise_mode"
4
+ ---
5
+
6
+ ### Name ###
7
+
8
+ `noise_mode` _NB: not currently available in vanilla processing_.
9
+
10
+ ### Examples ###
11
+
12
+ ```ruby
13
+ #!/usr/bin/env jruby -w
14
+ require 'picrate'
15
+
16
+ class TestNoise < Processing::App
17
+ attr_reader :z
18
+
19
+ def setup
20
+ stroke(255, 64)
21
+ @z = 0
22
+ end
23
+
24
+ def draw
25
+ noise_scale = 0.01
26
+ background(0)
27
+ grid(width, height, 10, 10) do |x, y|
28
+ arrow(x, y, noise(x * noise_scale, y * noise_scale, z * noise_scale) * TWO_PI * 2)
29
+ end
30
+ @z += 1
31
+ end
32
+
33
+ def mouse_pressed
34
+ mode = NoiseMode::OPEN_SMOOTH # Smooth classic OpenSimplex2
35
+ noise_mode mode
36
+ sketch_title mode.description
37
+ end
38
+
39
+ def mouse_released
40
+ mode = NoiseMode::DEFAULT # Fast classic OpenSimplex2
41
+ noise_mode(mode)
42
+ sketch_title mode.description
43
+ end
44
+
45
+
46
+ def arrow(x, y, ang)
47
+ push_matrix()
48
+ translate(x, y)
49
+ rotate(ang)
50
+ line(0, 0, 20, 0)
51
+ translate(20, 0)
52
+ rotate(PI + 0.4)
53
+ line(0, 0, 5, 0)
54
+ rotate(-0.8)
55
+ line(0, 0, 5, 0)
56
+ pop_matrix()
57
+ end
58
+
59
+ def settings
60
+ size(600, 400, P2D)
61
+ end
62
+ end
63
+
64
+ TestNoise.new
65
+
66
+ ```
67
+
68
+ ### Description ###
69
+
70
+ Currently supports four implementations of noise:-
71
+ 1. DEFAULT # fast classic OpenSimplex2
72
+ 2. OPEN_SMOOTH # smoother class OpenSimplex2F
73
+ 3. FAST_TERRAIN # more suited to terrain
74
+ 4. SMOOTH_TERRAIN # as above but smoother
75
+
76
+ ### Syntax ###
77
+
78
+ ```ruby
79
+ noise_mode(mode) # default is NoiseMode::DEFAULT, a fast classic OpenSimplex2
80
+ ```
81
+
82
+ ### Related ###
83
+
84
+ `noise(x, y, z, w)`
85
+
86
+ `noise(x, y, z)`
87
+
88
+ `noise(x, y)`
@@ -14,7 +14,7 @@ Get the latest version from [http://jruby.org/download][download]
14
14
 
15
15
  ```bash
16
16
  cd /opt
17
- sudo tar xzvf /pathToDownload/jruby-bin-9.2.11.0.tar.gz
17
+ sudo tar xzvf /pathToDownload/jruby-bin-9.2.14.0.tar.gz
18
18
  ```
19
19
 
20
20
  Then use the excellent `update-alternatives` tool to provide symbolic links to `jruby`, `jgem`, `jirb` and `rake` especially if you haven't installed `mri` ruby.
@@ -38,9 +38,9 @@ export PATH="${PATH}:${GEM_PATH}/bin"
38
38
 
39
39
  ### Automated install using bash ###
40
40
 
41
- The [picrate2_install.sh][bash] script currently installs jruby-9.2.11.0 and picrate-2.0.pre.
41
+ The [picrate2_install.sh][bash] script currently installs jruby-9.2.14.0 and picrate-2.2.0.
42
42
 
43
43
  If you know better please post on wiki
44
44
 
45
- [download]:"https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.11.0/jruby-dist-9.2.11.0-bin.tar.gz"
45
+ [download]:"https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.14.0/jruby-dist-9.2.14.0-bin.tar.gz"
46
46
  [bash]:https://gist.github.com/monkstone/6ae9840d7b7008c177b4a9f589d14ec6
@@ -6,7 +6,7 @@ categories: PiCrate update
6
6
  ---
7
7
  Requirements:-
8
8
 
9
- 1. Latest jogl-2.4.0-rc jars (place in ~/jogl24 folder).
9
+ 1. Latest jogl-2.4.0-rc jars (place in ~/jogl-2.4-rc2021011 folder see [jogl-jars][jars]).
10
10
 
11
11
  2. jdk-11+ and maven
12
12
 
@@ -16,3 +16,5 @@ git clone --depth 1 https://github.com/ruby-processing/PiCrate.git
16
16
  cd PiCrate
17
17
  rake # to build gem
18
18
  ```
19
+
20
+ [jars]:https://jogamp.org/deployment/archive/rc/v2.4.0-rc-20210111/jar/
@@ -18,10 +18,9 @@ bash picrate2_install.sh # to run default task
18
18
  2. Installs JRuby to `/opt`
19
19
  3. Uses `update-alternatives` to configure `jruby`, `jgem` and `jirb`
20
20
  4. The script checks for `GEM_HOME`, if undefined it modifies `~/.profile` to define `GEM_HOME` and puts gem binaries on your path, at logon.
21
- 5. Installs jdk11 if required sets `JAVA_HOME`, needed to support jruby (--add-opens)
21
+ 5. Installs jdk11 if required sets `JAVA_HOME`, needed to support jruby
22
22
  6. Creates `~/.gemrc` with `gem: no-document`
23
- 7. Creates `~/.jruby.java_opts` with `--add-opens` to suppress reflective access warnings.
24
- 8. Installs `picrate` gem
23
+ 7. Installs `picrate` gem
25
24
  To install `picrate_samples` also configures `geanyIDE` for use with `picrate` run
26
25
  `picrate --install` in a bash console
27
26
 
@@ -5,11 +5,19 @@ date: 2020-05-11 07:34:13
5
5
  categories: PiCrate update
6
6
  permalink: /getting_manjaro/
7
7
  ---
8
- Currently Manjaro does not come with a pre-installed java. So the first step is to install a `jdk` we currently recommend installing hotspot adopt-openjdk11 from the AdoptOpenJDK project. Setting the JDK_HOME environment and then manually install the latest JRuby. It is probably worth creating a symbolic links to `/usr/bin/jruby` and `/usr/bin/jgem` from wherever you installed jruby eg /opt folder.
8
+ If Manjaro does not come with a pre-installed java, then the first step is to install a `jdk` the distro version (jdk14) should work.
9
+
10
+ ```bash
11
+ sudo pacman -S jdk-openjdk # current distro version jdk14
12
+ ```
13
+ You can also use pacman to install jruby
14
+ ```bash
15
+ sudo pacman -S jruby # current version jruby-9.2.14.0
9
16
  ```
17
+ It is probably a good idea to create a local gem store (rather needing to use sudo to install gems)
10
18
 
11
19
  ```bash
12
- mkdir -p ~/.gem/jruby/2.5.0
20
+ mkdir -p ~/.gem/ruby/2.5.0 # current MRI version supported by jruby
13
21
  ```
14
22
  Now set your `GEM_HOME`, `GEM_PATH` and amend your `PATH` as follows:-
15
23
 
@@ -19,16 +27,20 @@ echo "export GEM_PATH=\"\${HOME}/.gem/ruby/${MRI_RUBY}\"" >> ~/.bashrc
19
27
  echo "export PATH=\"\${PATH}:\${GEM_PATH}/bin\"" >> ~/.bashrc
20
28
  source ~/.bashrc # to update environment without re-logging in
21
29
  ```
22
- Now should be ready to install `picrate` and other gems.
23
- Install a local version of rake:-
30
+ Now should be ready to install `picrate` and other gems. But speed up install time you should set `--no-document` option in ~/.gemrc
31
+
24
32
  ```bash
25
- jgem install rake
33
+ touch ~/.gemrc
34
+ echo "gem: --no-document" > ~/.gemrc
26
35
  ```
27
36
  To install latest picrate and its dependencies:-
28
37
 
29
38
  ```bash
30
- jgem install picrate --pre
39
+ jgem install picrate
31
40
  ```
41
+
42
+ Geany is a good editor/ide for PiCrate on the RaspberryPI (install via pacman), but some may prefer vim. For geany you should edit/preferences/Terminal to `Execute programs in the VTE`.
43
+
32
44
  __For a first install:-__
33
45
 
34
46
  ```bash
@@ -37,7 +49,7 @@ picrate --install # no args, install samples and geany config
37
49
  picrate -i Samples # to omit geany config
38
50
  ```
39
51
 
40
- This installs example sketches in `~/projects/examples` and ties them into a `geany` project `examples.geany`. It should also be possible to run sketches from the `geany` ide.
52
+ This installs example sketches in `~/projects/examples` and ties them into a `geany` project `examples.geany`. It should also be possible to run sketches from the `geany` ide. The geany config creates `picrate.rb` template sketch so you can create a new sketch with template.
41
53
 
42
54
  To create a template sketch from the command line:-
43
55
 
@@ -77,7 +89,7 @@ vim my_sketch.rb
77
89
  To run sketches from command line:-
78
90
 
79
91
  ```bash
80
- jruby my_sketch.rb
92
+ jruby --dev my_sketch.rb
81
93
  ```
82
94
 
83
95
  Or even `chmod +x my_sketch.rb` to make an executable script.
data/docs/classes.md CHANGED
@@ -5,6 +5,6 @@ title: Classes
5
5
 
6
6
  {% for class in site.classes %}
7
7
  <h2>{{ item.title }}</h2>
8
- <p>{{ item.description }}</p>
9
- <p><h2><a href="{{ class.url | prepend: site.github.url }}">{{ class.title }}</a></h2></p>
8
+ <p>{{ item.description }}
9
+ <p><h2><a href="{{ class.url | prepend: site.github.url }}">{{ class.title }}</a></h2>
10
10
  {% endfor %}
data/docs/editors.md CHANGED
@@ -5,6 +5,6 @@ title: Editors
5
5
 
6
6
  {% for editor in site.editors %}
7
7
  <h2>{{ item.title }}</h2>
8
- <p>{{ item.description }}</p>
9
- <p><h2><a href="{{ editor.url | prepend: site.github.url }}">{{ editor.title }}</a></h2></p>
8
+ <p>{{ item.description }}
9
+ <p><h2><a href="{{ editor.url | prepend: site.github.url }}">{{ editor.title }}</a></h2>
10
10
  {% endfor %}
data/docs/gems.md CHANGED
@@ -4,8 +4,8 @@ title: Gems
4
4
  ---
5
5
  {% for gem in site.gems %}
6
6
  <h2>{{ item.title }}</h2>
7
- <p>{{ item.description }}</p>
8
- <p><h2><a href="{{ gem.url | prepend: site.github.url }}">{{ gem.title }}</a></h2></p>
7
+ <p>{{ item.description }}
8
+ <p><h2><a href="{{ gem.url | prepend: site.github.url }}">{{ gem.title }}</a></h2>
9
9
  {% endfor %}
10
10
 
11
- <p>If you are new to ruby, see <a href="http://guides.rubygems.org/what-is-a-gem/">what is a gem here</a></p>
11
+ <p>If you are new to ruby, see <a href="http://guides.rubygems.org/what-is-a-gem/">what is a gem here</a>
data/docs/index.html CHANGED
@@ -23,6 +23,6 @@ layout: default
23
23
  {% endfor %}
24
24
  </ul>
25
25
 
26
- <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.github.url }}">via RSS</a></p>
26
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.github.url }}">via RSS</a>
27
27
 
28
28
  </div>
data/docs/libraries.md CHANGED
@@ -6,8 +6,8 @@ It is possible to use vanilla <a href="https://www.processing.org/reference/libr
6
6
 
7
7
  {% for library in site.libraries %}
8
8
  <h2>{{ item.title }}</h2>
9
- <p>{{ item.description }}</p>
10
- <p><h2><a href="{{ library.url | prepend: site.github.url }}">{{ library.title }}</a></h2></p>
9
+ <p>{{ item.description }}
10
+ <p><h2><a href="{{ library.url | prepend: site.github.url }}">{{ library.title }}</a></h2>
11
11
  {% endfor %}
12
12
 
13
13
  <h4>Key To Library Types</h4>
data/docs/live.md CHANGED
@@ -6,6 +6,6 @@ Spoiler alert, initially a least it is better just to accept the live works...
6
6
 
7
7
  {% for live_mode in site.live %}
8
8
  <h2>{{ item.title }}</h2>
9
- <p>{{ item.description }}</p>
10
- <p><h2><a href="{{ live_mode.url | prepend: site.github.url }}">{{ live_mode.title }}</a></h2></p>
9
+ <p>{{ item.description }}
10
+ <p><h2><a href="{{ live_mode.url | prepend: site.github.url }}">{{ live_mode.title }}</a></h2>
11
11
  {% endfor %}
data/docs/magic.md CHANGED
@@ -6,6 +6,6 @@ Spoiler alert, initially a least it is better just to accept the magic works...
6
6
 
7
7
  {% for spell in site.magic %}
8
8
  <h2>{{ item.title }}</h2>
9
- <p>{{ item.description }}</p>
10
- <p><h2><a href="{{ spell.url | prepend: site.github.url }}">{{ spell.title }}</a></h2></p>
9
+ <p>{{ item.description }}
10
+ <p><h2><a href="{{ spell.url | prepend: site.github.url }}">{{ spell.title }}</a></h2>
11
11
  {% endfor %}
data/docs/methods.md CHANGED
@@ -5,6 +5,6 @@ title: Methods
5
5
 
6
6
  {% for method in site.methods %}
7
7
  <h2>{{ item.title }}</h2>
8
- <p>{{ item.description }}</p>
9
- <p><h2><a href="{{ method.url | prepend: site.github.url }}">{{ method.title }}</a></h2></p>
8
+ <p>{{ item.description }}
9
+ <p><h2><a href="{{ method.url | prepend: site.github.url }}">{{ method.title }}</a></h2>
10
10
  {% endfor %}
data/docs/modules.md CHANGED
@@ -5,8 +5,8 @@ title: Modules
5
5
 
6
6
  {% for module in site.modules %}
7
7
  <h2>{{ item.title }}</h2>
8
- <p>{{ item.description }}</p>
9
- <p><h2><a href="{{ module.url | prepend: site.github.url }}">{{ module.title }}</a></h2></p>
8
+ <p>{{ item.description }}
9
+ <p><h2><a href="{{ module.url | prepend: site.github.url }}">{{ module.title }}</a></h2>
10
10
  {% endfor %}
11
11
 
12
- <p>If you are new to ruby, you can read more about <a href="https://www.tutorialspoint.com/ruby/ruby_modules.htm">modules here</a></p>
12
+ <p>If you are new to ruby, you can read more about <a href="https://www.tutorialspoint.com/ruby/ruby_modules.htm">modules here</a>
data/docs/objects.md CHANGED
@@ -4,6 +4,6 @@ title: Variables and Objects
4
4
  ---
5
5
  {% for object in site.objects %}
6
6
  <h2>{{ item.title }}</h2>
7
- <p>{{ item.description }}</p>
8
- <p><h2><a href="{{ object.url | prepend: site.github.url }}">{{ object.title }}</a></h2></p>
7
+ <p>{{ item.description }}
8
+ <p><h2><a href="{{ object.url | prepend: site.github.url }}">{{ object.title }}</a></h2>
9
9
  {% endfor %}