1--- 2title: Signals 3layout: ../../layouts/MainLayout.astro 4--- 5 6import { MiniRepl } from '../../docs/MiniRepl'; 7import { JsDoc } from '../../docs/JsDoc'; 8 9# Continuous Signals 10 11Signals are patterns with continuous values, meaning they have theoretically infinite steps. 12They can provide streams of numbers that can be sampled at discrete points in time. 13 14## saw 15 16<JsDoc client:idle name="saw" h={0} /> 17 18## sine 19 20<JsDoc client:idle name="sine" h={0} /> 21 22## cosine 23 24<JsDoc client:idle name="cosine" h={0} /> 25 26## tri 27 28<JsDoc client:idle name="tri" h={0} /> 29 30## square 31 32<JsDoc client:idle name="square" h={0} /> 33 34## rand 35 36<JsDoc client:idle name="rand" h={0} /> 37 38## Ranges from -1 to 1 39 40There is also `saw2`, `sine2`, `cosine2`, `tri2`, `square2` and `rand2` which have a range from -1 to 1! 41 42## perlin 43 44<JsDoc client:idle name="perlin" h={0} /> 45 46## irand 47 48<JsDoc client:idle name="irand" h={0} /> 49 50## brand 51 52<JsDoc client:idle name="brand" h={0} /> 53 54## brandBy 55 56<JsDoc client:idle name="brandBy" h={0} /> 57 58## mouseX 59 60<JsDoc client:idle name="mousex" h={0} /> 61 62## mouseY 63 64<JsDoc client:idle name="mousey" h={0} /> 65 66Next up: [Random Modifiers](/learn/random-modifiers)