require 'updatepaintmodule' class LayeredBG include UpdatePaintModule def initialize videoManager size = 2000 addElement ScrollingLayer.new videoManager, size, 0.8, 300 addElement ScrollingLayer.new videoManager, size, 0.5, 200 addElement ScrollingLayer.new videoManager, size, 0.2, 100 end end