Sha256: 50f4ba2ac510161c5af656a5b6a7f12b2c18a170e66cc86941012d09e09f3c04

Contents?: true

Size: 365 Bytes

Versions: 39

Compression:

Stored size: 365 Bytes

Contents

%w[xot rays reflex processing]
  .map  {|s| File.expand_path "../../#{s}/lib", __dir__}
  .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}

require 'processing'
using Processing


icon = loadImage 'https://xord.org/rubysketch/images/rubysketch128.png'

draw do
  background 0, 10
  image icon, mouseX, mouseY, icon.width / 10, icon.height / 10
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
processing-0.5.20 examples/image.rb
processing-0.5.19 examples/image.rb
processing-0.5.18 examples/image.rb
processing-0.5.17 examples/image.rb
processing-0.5.16 examples/image.rb
processing-0.5.14 examples/image.rb
processing-0.5.13 examples/image.rb
processing-0.5.12 examples/image.rb
processing-0.5.11 examples/image.rb
processing-0.5.10 examples/image.rb
processing-0.5.9 examples/image.rb
processing-0.5.8 examples/image.rb
processing-0.5.6 examples/image.rb
processing-0.5.5 examples/image.rb
processing-0.5.4 examples/image.rb
processing-0.5.3 examples/image.rb
processing-0.5.2 examples/image.rb
processing-0.5.1 examples/image.rb
processing-0.5.0 examples/image.rb