Created
July 2, 2015 08:38
-
-
Save yukpiz/8401fb7641e43f70289c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "squib" | |
light = "#F3EFE3" | |
dark = "#230602" | |
# Squib::Deck.new(cards: 2) do | |
# background color: "white" | |
# text str: %w(Hello World!) | |
# save_png prefix: "basic_" | |
# end | |
# Squib::Deck.new(cards: 2, width: 825, height: 1125) do | |
# background color: dark | |
# | |
# text str: %w(Attack Defend), | |
# color: light, font: "ChunkFive Roman,Sans 72", | |
# y: "2.5in", width: "2.75in", align: :center | |
# | |
# save_png prefix: "basic_" | |
# end | |
Squib::Deck.new(cards: 1, width: 825, height: 1125) do | |
background color: dark | |
text str: %w(Hello\ Miku), | |
color: light, font: "ChunkFive Roman,Sans 72", | |
y: "2.5in", width: "2.75in", align: :center | |
png file: "test.png", | |
y: 250, x: 220 | |
save_png prefix: "basic_" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment