class

ProceduralArt::ChromaticAberration

Inherits Reference < Object

Inspired by https://www.openprocessing.org/sketch/105956

Constants

BLEND_TYPE = "difference"

Constructors

new(seed, width : Int32 = 800, height : Int32 = 600)

Class methods

make
seed
seed=(seed : Int32)

Instance methods

colors
colors=(colors : Array(String))
height
height=(height : Int32)
make
padding
padding=(padding : Int32)
rotate_point(x, y, ox, oy, deg)
smallest_square_size
smallest_square_size=(smallest_square_size : Int32)
square_size
square_size=(square_size : Int32)
width
width=(width : Int32)