class ProceduralArt::ChromaticAberration

Overview

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

Defined in:

generators/chromatic_aberration.cr

Constant Summary

BLEND_TYPE = "difference"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(seed, width : Int32 = 800, height : Int32 = 600) #

[View source]

Class Method Detail

def self.make #

[View source]
def self.seed #

[View source]
def self.seed=(seed : Int32) #

[View source]

Instance Method Detail

def colors : Array(String) #

[View source]
def colors=(colors : Array(String)) #

[View source]
def height : Int32 #

[View source]
def height=(height : Int32) #

[View source]
def make #

[View source]
def padding : Int32 #

[View source]
def padding=(padding : Int32) #

[View source]
def rotate_point(x, y, ox, oy, deg) #

[View source]
def smallest_square_size : Int32 #

[View source]
def smallest_square_size=(smallest_square_size : Int32) #

[View source]
def square_size : Int32 #

[View source]
def square_size=(square_size : Int32) #

[View source]
def width : Int32 #

[View source]
def width=(width : Int32) #

[View source]