Sha256: b20b38842d03b3a08e60c7d634541f49800c0de3130b0ae6fd0a4fddf1906f88
Contents?: true
Size: 363 Bytes
Versions: 3
Compression:
Stored size: 363 Bytes
Contents
require_relative '../lib/cf3.rb' def setup size 200, 200 @triangle = ContextFree.define do shape :tri do circle triangle brightness: 0.8 circle brightness: 1.0, size: 0.02 end end end def draw_it background 0.2 @triangle.render :tri, size: height/2 end def draw # Do nothing. end def mouse_clicked draw_it end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cf3-0.0.5 | test/test_cf3.rb |
cf3-0.0.4 | test/test_cf3.rb |
cf3-0.0.3 | test/test_cf3.rb |