cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

wavy circle by equation

John.Pryal
14-Alexandrite

wavy circle by equation

Hi all, I have been trying to figure out how one might create a 'wavy circle' similar to the attached screen shot by using curve equation. It is 2 dimensional. 

Regards

John 

ACCEPTED SOLUTION

Accepted Solutions

/* For cartesian coordinate system, enter parametric equation
/* in terms of t (which will vary from 0 to 1) for x, y and z
/* For example: for a circle in x-y plane, centered at origin
/* and radius = 4, the parametric equations will be:
/* x = 4 * cos ( t * 360 )
/* y = 4 * sin ( t * 360 )
/* z = 0
/*-------------------------------------------------------------------
r = 50
a = 5
n = 20

x = (r + a * sin(n * t * 360 )) * cos (t * 360 )
y = (r + a * sin(n * t * 360 )) * sin (t * 360 )

 

Wavy Circle.PNG

View solution in original post

3 REPLIES 3

/* For cartesian coordinate system, enter parametric equation
/* in terms of t (which will vary from 0 to 1) for x, y and z
/* For example: for a circle in x-y plane, centered at origin
/* and radius = 4, the parametric equations will be:
/* x = 4 * cos ( t * 360 )
/* y = 4 * sin ( t * 360 )
/* z = 0
/*-------------------------------------------------------------------
r = 50
a = 5
n = 20

x = (r + a * sin(n * t * 360 )) * cos (t * 360 )
y = (r + a * sin(n * t * 360 )) * sin (t * 360 )

 

Wavy Circle.PNG

John.Pryal
14-Alexandrite
(To:HamsterNL)

Thank you, I knew there would be an equation. I just could not figure out how to introduce number of cycles & amplitude to a circle in x-y plane.

Best regards

John

This is the first time I have created such a curve.

 

I combined the knowledge from the reply by Max in this StackExchange post "Equation of sine wave around a circle" with this Creo post about Equations for Curves and more.

 

After I replaced "θ" (the angle) with "t * 360", the wavy circle showed up.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags