Sha256: ff0c7efe7701044ab3297dcb14d164988efaff49ff29673ce538a7993004b86c

Contents?: true

Size: 438 Bytes

Versions: 10

Compression:

Stored size: 438 Bytes

Contents

# Loading Images. 
# 
# Loading ruby processing "blue ruby". 
# Processing applications can only load images from the network
# while running in the Processing environment. This example will 
# not run in a web browser and will only work when the computer
# is connected to the Internet. 


def setup  	
  size 200, 200  	
  background 255  	
	img1 = load_image "http://s3.amazonaws.com/jashkenas/images/ruby.jpg"	
	image img1, 0, 45
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby-processing-2.6.3 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.6.2 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.6.1 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.6.0 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.5.1 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.5.0 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.4.4 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.4.3 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.4.2 samples/processing_app/basics/web/loading_images.rb
ruby-processing-2.4.1 samples/processing_app/basics/web/loading_images.rb