Plankton::DSL
Instance methods
audio
Sourcebeat
Sourcecircle(radius : Scalar = 0.3, smoothing : Scalar = 0.01) : Texture
Aspect-correct circle with transparent background.
delta
Sourceframe
Sourcemap(value : Scalar, in_low : Scalar, in_high : Scalar, out_low : Scalar, out_high : Scalar) : Signal
Sourcemouse
Sourcenoise(scale : Scalar = 10.0, speed : Scalar = 0.1) : Texture
Smooth, animated value noise (not Hydra simplex noise).
o0
Sourceo1
Sourceo2
Sourceo3
Sourceosc(frequency : Scalar = 10.0, sync : Scalar = 0.1, offset : Scalar = 1.0) : Texture
Animated RGB oscillator.
param(key : String, value : Number, min : Number = 0.0, max : Number = 1.0, step : Number = 0.01) : Signal
Sourcerect(width : Scalar = 0.5, height : Scalar = 0.5, smoothing : Scalar = 0.01) : Texture
Aspect-correct centered rectangle.
render(output : Output = Output.new(0)) : Nil
Sources0
Sources1
Sources2
Sources3
Sourceshape(sides : Scalar = 3.0, radius : Scalar = 0.3, smoothing : Scalar = 0.01) : Texture
Antialiased regular polygon, with transparent background.
solid(r : Scalar = 0.0, g : Scalar = 0.0, b : Scalar = 0.0, a : Scalar = 1.0) : Texture
Solid RGBA color.
src(output : Output = Output.new(0)) : Texture
Output references are previous-frame textures, including self-feedback.
src(input : Input) : Texture
Sourcetime
Sourcevoronoi(scale : Scalar = 5.0, speed : Scalar = 0.3, blending : Scalar = 0.3) : Texture
Animated cellular distance field.