Skip to content

Conversation

@OmarShehata
Copy link
Contributor

This adds a new pattern that targets the new fairy circles, inspired by the last workshop @Cfhhunt ran.

It starts as one snake then increases to 6 snakes for the small circles and 10 for the big one, alternating in direction and varying in colors:

snakes

It doesn't affect any of the other cubes, so it should be good to combine with other patterns. I have one parameter exposed that controls the speed the snakes move at. I tweaked it so that it's easy to follow the snakes on my screen, but not sure if it'll need to be faster or slower to look nice in real life. It does look really cool when it's fast & feels smooth and flowy. But too fast and it's hard to see the motion.

There's lots of other ways to tweak this (like the length of the snakes etc) that I documented in the code.

What it looks like on the bigger circle:

snakes.mp4

Note these gifs are taken in my "entwined web" port (https://github.com/OmarShehata/entwined-web). I prototyped the code in JS for quick prototyping first, then ported it over to Java when I was done. Here's a diff that shows this same pattern implemented in JavaScript: OmarShehata/entwined-web#4.

You can also see the fairy snakes pattern live in the web by going to this URL and selecting "fairySnake" from the dropdown: https://omarshehata.github.io/entwined-web/

@bbulkow bbulkow merged commit c502131 into squaredproject:master Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants