33 changed files with 109 additions and 8 deletions
@ -0,0 +1,13 @@
|
||||
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 |
||||
@ -0,0 +1,13 @@
|
||||
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 |
||||
Loading…
Reference in new issue