picrate 1.1.0-java → 1.2.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/picrate/helper_methods.rb +4 -0
- data/lib/picrate/version.rb +1 -1
- data/lib/{picrate-1.1.0.jar → picrate-1.2.0.jar} +0 -0
- data/pom.rb +1 -1
- data/pom.xml +1 -1
- data/src/main/java/monkstone/ColorUtil.java +2 -2
- data/src/main/java/processing/core/PApplet.java +4284 -4244
- data/src/main/java/processing/core/PFont.java +29 -27
- data/src/main/java/processing/core/PGraphics.java +144 -142
- data/vendors/Rakefile +1 -1
- data/vendors/picrate.geany +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47ad3ac327fcc88763b9b0e9e857761409b95e6bdc1b80305d3b74752099a7c2
|
4
|
+
data.tar.gz: 62b68f555506c6fd073ad4e998f540add1463d434c558d621baba114f2f56c9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72e2eea3d2c7342489990f24b7ddc7920ea4d7c3c24672253140dada9533f57d05efc73d0af51857bbd3af3265bd7e0d590cf10ff68c661df541cb0e5934d90d
|
7
|
+
data.tar.gz: 905ec17579a21892d7a8961bceff53214544ebf8947f9e23ab3faf3f88534be5061f8b96916836c2db09c5eabed7e9a3b73728dd9508df8738c0d0229380ce0b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
v1.2.0 Update samples to use safer fonts, add linux specific suggestion on missing fonts PFont.java, fix :web_to_color_array(web).
|
2
|
+
|
1
3
|
v1.1.0 Bring up to date with latest development branch, except still target Stretch and Oracle jdk8, add Gemfile to help version locking.
|
2
4
|
|
3
5
|
v1.0.0 Release for Raspbian Stretch and Oracle java
|
data/lib/picrate/version.rb
CHANGED
Binary file
|
data/pom.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
project 'picrate', 'http://maven.apache.org' do
|
2
2
|
|
3
3
|
model_version '4.0.0'
|
4
|
-
id 'ruby-processing:picrate:1.
|
4
|
+
id 'ruby-processing:picrate:1.2.0'
|
5
5
|
packaging 'jar'
|
6
6
|
|
7
7
|
description 'An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.'
|
data/pom.xml
CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
|
|
11
11
|
<modelVersion>4.0.0</modelVersion>
|
12
12
|
<groupId>ruby-processing</groupId>
|
13
13
|
<artifactId>picrate</artifactId>
|
14
|
-
<version>1.
|
14
|
+
<version>1.2.0</version>
|
15
15
|
<name>picrate</name>
|
16
16
|
<description>An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.</description>
|
17
17
|
<url>http://maven.apache.org</url>
|
@@ -50,11 +50,11 @@ public class ColorUtil {
|
|
50
50
|
}
|
51
51
|
|
52
52
|
/**
|
53
|
-
*
|
53
|
+
* Avoid using VarArgs here
|
54
54
|
* @param web Array of web (hex) String
|
55
55
|
* @return cols of p5 color (int)
|
56
56
|
*/
|
57
|
-
static public int[] webArray(String
|
57
|
+
static public int[] webArray(String[] web) {
|
58
58
|
int[] result = new int[web.length];
|
59
59
|
for (int i = 0; i < web.length; i++) {
|
60
60
|
result[i] = java.awt.Color.decode(web[i]).getRGB();
|