Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • Snake.toe

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

This "snakes" simulation is a little example of how to handle simple constraints in GLSL. 

For each snake, every point other than the head tries to catch up with the current position of the point before it.

You can adjust snake count on the go, as well as the length.

There is a bunch of comments in the GLSL code, so I hope it's going to be easy for you to understand what's happening there. 

Enjoy!

Files

Previews only

Comments

No comments found for this post.