Skip to content

lots of butterflies! one my land on your hand! immersive/cross platform computer graphics

Notifications You must be signed in to change notification settings

smrghsh/butterfly

Repository files navigation

butterflies floating around in 3D

3D sketch with a ton of butterflies flying around!

Enter VR and extend your right hand—if you're lucky, a butterfly might land on it. Why? A butterfly once landed on my hand when I felt down, inspiring me to recreate the experience and share these insights:

how it works

  1. The sprite and the wing flapping technique originate from this youtube video by Miziziziz
  2. I used the WebXR Hand input to get the position of the hand. I used principles from the Nature of Code by Daniel Shiffman to translate the states of a butterfly's path and flapping into code.
  3. I wanted to put some effort into making a nicer terrain with fog and lighting. I think the forest floor terrain using Quixel assets turned out well!

About

lots of butterflies! one my land on your hand! immersive/cross platform computer graphics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published