add tag
4 years ago samcarter

In the following example, I would like to decorate only the arc at the bottom of the shape with decorate,decoration=snake, the Bézier curves at the top of the shape should remain as they are.

I already tried:

  • shifting the decoration with pre length=60pt, but this converted the Bézier curves into straight lines

  • decomposing the shape into two parts, but then I face problems when only drawing the outlines or filling with a ballshade in orer to imitate a 3D look

Screen Shot 2021-03-22 at 17.39.53.png

Top Answer
4 years ago user 3.14159

Uii, a black ghost. 😸. You can just use decorate inside a path to decorate certain seqments.

Screen Shot 2021-03-22 at 9.51.54 AM.png

BTW, pre length also works, you only need to add pre=curevto. (In this very case this is not what you want to do, I think, because you would have to tune the pre length by hand, which I did not do.)

Screen Shot 2021-03-22 at 9.54.53 AM.png

4 years
user 3.14159 replying to samcarter — Monday, 22nd Mar 2021 17:56

Southern hemisphere Halloween.

samcarter replying to user 3.14159 — Monday, 22nd Mar 2021 17:55

That’s true dedication: preparing the hallowing costume in March 😄

user 3.14159 replying to samcarter — Monday, 22nd Mar 2021 17:49

These are just some TikZlings getting ready for the Halloween party.

samcarter replying to user 3.14159 — Monday, 22nd Mar 2021 17:46

scary 😄

17 minutes
user 3.14159 — Monday, 22nd Mar 2021 17:29

ani.gif

18 minutes
user 3.14159 replying to samcarter — Monday, 22nd Mar 2021 17:11

Screen Shot 2021-03-22 at 10.11.04 AM.png

16 minutes
samcarter — Monday, 22nd Mar 2021 16:54

@marmot, re: your answer, Genius!

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.