How do I make a squiggly line?


390
views
3
8 months ago by

Hi.  I need a suggestion.  I do not know what to do for the tail on my lion.  I want to do a squiggly line, sort of like 2 arcs on top of each other, but I do not know how I would do that.

Here is the link.

https://code.world/#PTks8kBmTrAiRCBzYz_tvQg

(This is Cora.  I am on a different account.)

Community: CodeWorld

1 Answer


4
8 months ago by

Two arcs would work!  Here's an example: https://code.world/#Px_tiiBsPeLY2mhAwyH0jEw  You can change the angles of 0 and 360 to other numbers, to change how curvy it is.

Another way is to use the curve function.  You might not have seen this one, but it works almost exactly like path, except that instead of drawing straight lines, it draws a smooth line through the points you give it.  This gives you a lot more control over the exact shape of the tail.  Here's an example of that: https://code.world/#PSDuykS2GTlVtMYVgZDswfA

Hope that helps!

Please login to add an answer/comment or follow this question.

Similar posts:
Search »