An extension for USPSFlags to generate grade insignia.
insignia = USPSFlags::Grades.new do |g|
g.grade = :sn
g.membership = :senior
g.merit_marks = 20
g.outfile = "/path/to/svg/output.svg"
end
insignia = USPSFlags::Grades.new(
grade: :sn,
membership: :senior,
merit_marks: 20,
outfile: "/path/to/svg/output.svg"
)
insignia.svg #=> Generates SVG file at "/path/to/svg/output.svg"
Actual images generated are registered trademarks of United States Power Squadrons.
This project is released under the GPLv3.