Sha256: 4ad6f3f3c2c8260d8e94a62e5bd28fd695293fd237c480a7a4aa9b393f7914ed
Contents?: true
Size: 411 Bytes
Versions: 35
Compression:
Stored size: 411 Bytes
Contents
%w[xot rays reflex rubysketch] .map {|s| File.expand_path "../../#{s}/lib", __dir__} .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)} require 'rubysketch' RubySketch::GLSL.start <<END varying vec4 v_TexCoord; uniform vec2 resolution; uniform float time; void main () { vec2 pos = v_TexCoord.xy / resolution; gl_FragColor = vec4(pos, float(mod(time, 1.0)), 1); } END
Version data entries
35 entries across 35 versions & 1 rubygems