Sha256: 718241dba9f30bf5634f7811c368083bff7bf37150aeb132696e0fce3f75993c
Contents?: true
Size: 444 Bytes
Versions: 3
Compression:
Stored size: 444 Bytes
Contents
require 'squib' Squib::Deck.new(cards: 200, config: 'antialias_fast.yml') do background color: :white # alphabet = 'a'.upto('z').to_a.join + ' ' + 'A'.upto('Z').to_a.join + ' ' # text str: alphabet * 36 , font: 'Sans Bold 18', width: 825, height: 1125, hint: :red 0.upto(500).each do |i| circle radius: 50, x: (i % 17) * 50, y: (i / 17) * 50 end save_png prefix: 'antialias_fast_' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
squib-0.12.0 | benchmarks/antialias_fast.rb |
squib-0.11.0 | benchmarks/antialias_fast.rb |
squib-0.10.0 | benchmarks/antialias_fast.rb |