Sha256: 7647eb77ccfce58c0b8695cf47f208fd348763a2fba35c99eed1334f86a8383c

Contents?: true

Size: 443 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
squib-0.12.0 benchmarks/antialias_best.rb
squib-0.11.0 benchmarks/antialias_best.rb
squib-0.10.0 benchmarks/antialias_best.rb