Sha256: 126a8c323b84f092a8d14d9594d092f42be706ef09a5aac713ad8fd53669386e

Contents?: true

Size: 443 Bytes

Versions: 7

Compression:

Stored size: 443 Bytes

Contents

require 'squib'

Squib::Deck.new(cards: 200, config: 'antialias_best.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_best_'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
squib-0.9.0 benchmarks/antialias_best.rb
squib-0.8.0 benchmarks/antialias_best.rb
squib-0.7.0 benchmarks/antialias_best.rb
squib-0.6.0 benchmarks/antialias_best.rb
squib-0.5.1 benchmarks/antialias_best.rb
squib-0.5.0 benchmarks/antialias_best.rb
squib-0.4.0 benchmarks/antialias_best.rb