You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
411 B

#!/usr/bin/env ruby
require 'squib'
deck width: 825, height: 1125, cards: 3
background [1.0,1.0,1.0]
data = {'name' => ['Thief', 'Grifter', 'Mastermind'],
'level' => [1,2,3]}
rect x: 0, y: 0, width: 825, height: 1125, x_radius: 30, y_radius: 30
text str: data['name'], x: 10, y: 250
rect x: 10, y: 250, width: 100, height: 100
text str: data['level'], x: 10, y: 15
save format: :png
puts "Done!"