processing 0.5.11 → 0.5.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0dde180287b181e5828695f0606b3ac71b12cfba1c145a2a7c93d13843f1b6fa
4
- data.tar.gz: c062bfc9da57cf833daae67151c68f0717cd50d5984e6590ce04219e590ca487
3
+ metadata.gz: cdb98f9abd746cf56051dfd46120cc8bcb3010bb47a7588b28c6419ec9811815
4
+ data.tar.gz: 6f0295c45400eb60ebbd41b9c066e529d25abeffae07410400e4839e313811a9
5
5
  SHA512:
6
- metadata.gz: c43ddebef7308cd05abc811d3ef2151d3b7f1bbb17d707f430ffbedc82d0e11ba48a46d2ab62cd4e40d5972ca326340e1099ed6460eb93dceb99f92ad98e15c9
7
- data.tar.gz: 47616df79b4fc59344d070d29330b5b3ec6a3ed16569548e1ea52d35dec307fb9e9bbfb29c091d969fcd53f71cd647c02665b64d973d335c8fb209c7049351b6
6
+ metadata.gz: 4da5a73ee018bb2ade02e0ed2517656c1174af64f48e2120eac9b65df5b086995a5d518799beb5141f74eba109908ac74198ad4241c6ed464c78fc7b1d0b806b
7
+ data.tar.gz: 41a845d4c73087296b80d1de72c5f6caee93806e7920b7a9dee9f9bd97e51ffc0abc3de54be8f9fac9e0c959086078bb0f6ac5811e0cf43807de64b5328cbcc8
data/ChangeLog.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # processing ChangeLog
2
2
 
3
3
 
4
+ ## [v0.5.12] - 2023-05-26
5
+
6
+ - pushStyle/popStyle do not manage filter state
7
+
8
+
4
9
  ## [v0.5.11] - 2023-05-21
5
10
 
6
11
  - copy() and blend() now work with tint color
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.11
1
+ 0.5.12
@@ -0,0 +1,15 @@
1
+ %w[xot rays reflex processing]
2
+ .map {|s| File.expand_path "../../#{s}/lib", __dir__}
3
+ .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}
4
+
5
+ require 'processing'
6
+ using Processing
7
+
8
+
9
+ icon = loadImage 'https://xord.org/rubysketch/images/rubysketch128.png'
10
+
11
+ draw do
12
+ background 0, 10
13
+ image icon, 100, 100
14
+ filter INVERT
15
+ end
@@ -1156,7 +1156,6 @@ module Processing
1156
1156
  @textAlignH__,
1157
1157
  @textAlignV__,
1158
1158
  @tint__,
1159
- @filter__,
1160
1159
  ]
1161
1160
  block.call if block
1162
1161
  nil
@@ -1188,8 +1187,7 @@ module Processing
1188
1187
  @imageMode__,
1189
1188
  @textAlignH__,
1190
1189
  @textAlignV__,
1191
- @tint__,
1192
- @filter__ = @styleStack__.pop
1190
+ @tint__ = @styleStack__.pop
1193
1191
  nil
1194
1192
  end
1195
1193
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: processing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - xordog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-20 00:00:00.000000000 Z
11
+ date: 2023-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xot
@@ -130,6 +130,7 @@ files:
130
130
  - examples/camera.rb
131
131
  - examples/clock.rb
132
132
  - examples/delay_camera.rb
133
+ - examples/filter.rb
133
134
  - examples/hello.rb
134
135
  - examples/image.rb
135
136
  - examples/shake.rb