I started a thread earlier this evening but I think that I accidentally flagged it as "solved" or something like that (I'm new to this forum). So I'm trying this again. I want to know if there's a way of creating a sine wave in illustrator. I've managed to create a cosine wave by using the zig zag effect on a line and choosing "smooth". But I can't seem to find a good way to make a sine wave.
This is the difference for anyone wondering:
I want a sine wave just like the picture above.
Thanks for the help!
I think all the replies in the previous thread tried to say that the sine and the cosine curves are exactly the same
They are the same except that they are shifted to eachother. I need my curve to start at 0 (origin), not at the top. And I can't crop, use the knife tool etc. because of the effect. So I don't really know what to do.
if they are just the same but shifted along the x axis, you'd probably be best off applying a transform effect to move a copy of the original line whatever distance horizontally, then put a clipping mask on the result.
How do I apply a transform that offsets the line horizontally so I can put a clipping mask on it? The clipping mask seems to work but it doesn't allow me to just take a part in the middle. Only at the ends of the line.
As I (mis)understand it, to create a single full sine wave, you may:
1) Create a horizontal line 2.5 times the length of the desired full sine wave (or you may adapt the length later);
2) Effect>Distort & Transform>Zig Zag with 4 Ridges per segment and Smooth Points and the desired height as the Size (or you may adapt later);
3) Object>Expand Appearance;
4) Object>Path>Add Anchor Points;
5) With the Scissors Tool cut where the sine wave starts and ends;
6) Ungroup if needed and delete the end bits (and adapt the length/height if needed).
Thanks so much! It worked beautifully.
You are welcome, ekmanch.
To make a sine wave you just wave and hope the sine waves back.
Sorry folks. Gone midnight here.
I missed that higher level effortless solution yesterday, Steve, because it was gone one here.
Thank you-- this is excellent!
You are welcome, russc.
Since there’s really no difference you could use a (probably rectangular) clipping mask to define where the wave begins and ends.
Or, if you don’t mind expanding the effect, just do that and then edit (knife, scissors whatever) the path.