module ProceduralArt::Hypnos

Overview

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

Defined in:

generators/hypnos.cr

Constant Summary

BG_MASK_OUTER_ID = "bg-mask-outer"
BG_MASK_SHAPE_ID = "bg-mask-shape"
CIRCLE_SPACING = 10
FG_MASK_OUTER_ID = "fg-mask-outer"
FG_MASK_RADIUS = 140.0
FG_MASK_SHAPE_ID = "fg-mask-shape"
MAX_CIRCLE_SIZE = FG_MASK_RADIUS + (CIRCLE_SPACING * 2)
MAX_STROKE_WIDTH = 5
SECS_PER_REV = 20
SIDES = [0, 3, 4, 5, 6, 7, 8]
SIZE = 500

Class Method Summary

Class Method Detail

def self.make #

[View source]
def self.seed #

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

[View source]