Jellyfish

Hi,

I’m trying to learn d3 myself and how it works, todo so I decided to port a project I have on vanilla JS to animate jellyfish swimming around.

Here is what I have so far:

But I need help on how to add the tentacles, this is proven to be a bit more challenging to translate to d3 than I thought, here is the code running on my site www.nardove.com

Thank you for your time

I’d recommend to add an implementation attempt of the tentacles to your notebook, ideally with some comments that describe where exactly you’re stuck. It is unlikely that people will look through your site’s code in order to find the relevant code. :wink:

You are correct, I do have a fork with my fail attempt so I’ll edit my original post accordingly.