LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Wavseta Waveforms Using Linear Equations

Root / Submissions / [.]

randoCreated:
Hey everyone, I found a way to make waves using wavseta and linear functions. Here is the code:
DIM WAV[NUM]
FOR X=0 TO LEN(WAV)-1
 Y=[equation]
 WAV[X]=Y
NEXT
WAVSETA NUM,A,S,D,R,WAV
So yeah. Comment cool equations for waveforms below if you hav any.
yesTangent waves are fun: Y=TAN(X)
cool factAll you need to do to display the waveform is put in the loop:
GLINE X,Y+120,X,120
or
GPSET X,Y+120

No posts yet (will you be the first?)