Sha256: b2094d874b62f0735d71a947511a4360acf9555622293eee00c4a7253f4867fb
Contents?: true
Size: 374 Bytes
Versions: 10
Compression:
Stored size: 374 Bytes
Contents
# Loop. # # Shows how to load and play a QuickTime movie file. # # load_library 'video' include_package 'processing.video' attr_reader :movie def setup size(640, 360) background(0) # Load and play the video in a loop @movie = Movie.new(self, "transit.mov") movie.loop end def draw movie.read if movie.available? image(movie, 0, 0, width, height) end
Version data entries
10 entries across 10 versions & 1 rubygems