module ProceduralArt::Retrowave

Defined in:

generators/retrowave.cr

Constant Summary

BG_GRADIENT_OFFSET = 250
GRID_ANGLE_DIMINISH = 1.25
GRID_HORIZONTAL_LINES = 8
GRID_HORIZONTAL_POSITION_FRACTION = SUN_RADIUS / SUN_WAVES
GRID_MOVE_TIME = 20
GRID_MOVE_TIME_FRACTION = GRID_MOVE_TIME / GRID_HORIZONTAL_LINES
GRID_VERTICAL_LINES = 3
HEIGHT = 800
SUN_OFFSET = 200
SUN_RADIUS = 150
SUN_WAVE_POSITION_FRACTION = SUN_RADIUS / SUN_WAVES
SUN_WAVE_TIME = 20
SUN_WAVE_TIME_FRACTION = SUN_WAVE_TIME / SUN_WAVES
SUN_WAVES = 8
WIDTH = 1200

Class Method Summary

Class Method Detail

def self.make #

[View source]
def self.seed : Int32 #

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

[View source]