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-1.1.2 examples/image.rb
processing-1.1.1 examples/image.rb
processing-1.1 examples/image.rb
processing-1.0.3 examples/image.rb
processing-1.0.2 examples/image.rb
processing-1.0.1 examples/image.rb
processing-0.5.34 examples/image.rb
processing-0.5.33 examples/image.rb
processing-0.5.32 examples/image.rb
processing-0.5.31 examples/image.rb
processing-0.5.30 examples/image.rb
processing-0.5.29 examples/image.rb
processing-0.5.28 examples/image.rb
processing-0.5.27 examples/image.rb
processing-0.5.26 examples/image.rb
processing-0.5.25 examples/image.rb
processing-0.5.24 examples/image.rb
processing-0.5.23 examples/image.rb
processing-0.5.22 examples/image.rb
processing-0.5.21 examples/image.rb