How to create a Fidget Spinner waveshape in G-Force?

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
User avatar
DanPin
Posts: 161
Joined: Tue Mar 15, 2016 8:43 pm
Location: Los Angeles County, California

How to create a Fidget Spinner waveshape in G-Force?

Post by DanPin »

I am trying to create a waveshape based on the famous, most popular Fidget Spinner toy in which it reliefs stress (just look it up on Google and I'll show you what I mean). However, I cannot get the first circle to the end of the first peddle; it will just get stuck into the edge of the right side of the peddle, making it look odd than I expected. Want to find out? Well then, here it is:

Test.txt

Code: Select all

Aspc=1

// Center the circle
C0="energy * 0.35 + .1",  // Radius
C1="s * 6.28318530",		// Angle

// Render the spikes, if possible
C2="sin(s*18.856) + energy + 1.3",  // Radius
C3="s * 6.28318530 + t * .5",		// Angle
// C4="cos(s * 2 * PI) * .64 * cos(PI * (s - .5))"

X0="C0 * sin(C1)"
Y0="C0 * cos(C1)"

X1="C2 * sin(C3)"
Y1="C2 * cos(C3)"

X2="C0 * sin(C1) + sin(-t * .5)"
Y2="C0 * cos(C1) - cos(-t * .5)"

ConB=1

LWdt="1.5 + energy"

Vers=540
If anyone here who can write waveshapes could help me out here, then I can correct the problem. Thanks!

User avatar
ShohS
Posts: 43
Joined: Fri Apr 06, 2018 11:46 am
Location: no one must know shhhh

Post by ShohS »

Hello DanPin

I finished it:
----------------------------------------
Aspc=1

// Center the circle
C0="energy * 0.5 + .1", // Radius
C1="s * 6.28318530", // Angle

// Render the spikes, if possible
C2="sin(s*18.856) + energy + 1.3", // Radius
C3="s * 6.28318530 + t * .5 + (1.5 * PI / 9)", // Angle
C4="cos(s * 2 * PI) * .64 * cos(PI * (s - .5))"
C5="-t * .5"
C6="-t * .5 + (2 * PI / 3)"
C7="-t * .5 + (4 * PI / 3)"
C8="BASS * 0.05 + .03"

X0="0.5 * (C0 * sin(C1))"
Y0="0.5 * (C0 * cos(C1))"

X1="0.3 * (C2 * sin(C3))"
Y1="0.3 * (C2 * cos(C3))"

X2="0.5 * (C0 * sin(C1) + sin(C5))"
Y2="0.5 * (C0 * cos(C1) - cos(C5))"

X3="0.5 * (C0 * sin(C1) + sin(C6))"
Y3="0.5 * (C0 * cos(C1) - cos(C6))"

X4="0.5 * (C0 * sin(C1) + sin(C7))"
Y4="0.5 * (C0 * cos(C1) - cos(C7))"

X5="0.5 * (C8 * sin(C1))"
Y5="0.5 * (C8 * cos(C1))"

X6="0.5 * (C8 * sin(C1) + sin(C5))"
Y6="0.5 * (C8 * cos(C1) - cos(C5))"

X7="0.5 * (C8 * sin(C1) + sin(C6))"
Y7="0.5 * (C8 * cos(C1) - cos(C6))"

X8="0.5 * (C8 * sin(C1) + sin(C7))"
Y8="0.5 * (C8 * cos(C1) - cos(C7))"

ConB=1

LWdt="1.5 + energy"

Vers=540

---------------------------------------

Try it now :D
[/code]
Nut

jerohm
Senior Member
Posts: 419
Joined: Fri Jan 09, 2009 5:19 pm

Post by jerohm »

Welcome...
Nice Job!

User avatar
BTT
Administrator
Posts: 2162
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Post by BTT »

Hello ShohS

Good WaveShape - do you have any more you would like to share.
.
Regards BTT

ColorMap Creator for G-Force and Aeon --- SoundSpectrum Forum Administrator.

User avatar
juxtiphi
Moderator
Posts: 1450
Joined: Sat Jan 15, 2005 1:29 pm

Post by juxtiphi »

WoW! Nice job! congrats to both of you.

Here's what it looks like for those of you who want to include it.


Image

User avatar
BTT
Administrator
Posts: 2162
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Post by BTT »

Hello DanPin

As this WaveShape was your original idea I think it only fair that you get to give it a name.
.
Regards BTT

ColorMap Creator for G-Force and Aeon --- SoundSpectrum Forum Administrator.

Post Reply