mirror of
https://github.com/hydra-synth/hydra.git
synced 2025-12-22 22:59:59 +01:00
1.2 KiB
1.2 KiB
Geometry
Functions for manipulating geometry.
kaleid
.kaleid( nSides )
nSides:: float (default4.0)
Kaleidoscope effect with nSides repetition.
Example
osc(25,-0.1,0.5).kaleid(50).out(o0)
pixelate
.pixelate( x, y )
pixelX:: float (default20.0)pixelY:: float (default20.0)
Pixelate texture with pixelX segments and pixelY segments.
Example
rotate
.rotate( angle, speed )
angle:: float (default10.0)speed:: float (default0.0)
Rotate texture.
Example
scale
.scale( size, xMult, yMult )
size:: float (defaultx)xMult:: float (default1.0)yMult:: float (default1.0)
Scale texture.
Example
scrollX
.scrollX( scrollX, speed )
scrollX:: float (default0.5)speed:: float (default0.0)
Example
scrollY
.scrollY( scrollY, speed )
scrollY:: float (default0.5)speed:: float (default0.0)
Example