Sha256: 3655b7c755ad651e134b17375f195482e48d4d8c5ff9c073a236c3a60176cf81
Contents?: true
Size: 381 Bytes
Versions: 25
Compression:
Stored size: 381 Bytes
Contents
%w[xot beeps rays reflex] .map {|s| File.expand_path "../../../#{s}/lib", __dir__} .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)} require 'reflexion/include' y = 0 draw do stroke :white line *(0..200).map {|x| xx = x * 5 yy = 200 + Rays.perlin(x / 10.0, y / 100.0) * 100 [xx, yy] } y += 1 text "#{event.fps.to_i} FPS", 10, 10 end
Version data entries
25 entries across 25 versions & 1 rubygems