module Phlox
Constants
- VERSION
Public Class Methods
gen_pic(width: 255, height: 255, fpath: "out.png", scale: 1)
click to toggle source
# File lib/phlox.rb, line 6 def self.gen_pic width: 255, height: 255, fpath: "out.png", scale: 1 graphics = Graphics.new width, height gradient = GradientGen::gen_gradient graphics.fill gradient graphics.write fpath, scale end