Make it chain

in bitcoin •  7 years ago 

thumbnail.jpg

Add raining bitcoin to a website

Full repo can be found at https://github.com/Onitz/make-it-chain
the following code can be modified to switch up the animation settings

function animate()
  {
    mesh[0].rotation.x+=0.1;
    mesh[2].rotation.z+=0.1;
    mesh[2].rotation.y+=0.1;
    mesh[1].rotation.z+=.2;
    requestAnimationFrame(animate);
    renderer.render(scene,camera);

    mesh.forEach(m=>{
      m.position.y -= fallspeed;
      if(m.position.y < -bound){
        m.position.y = bound;
      }
    });
  }

Texture & model credit goes to pkellz (see initial fork)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @ne10! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

SteemitBoard Ranking update - A better rich list comparator
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Congratulations @ne10! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Support SteemitBoard's project! Vote for its witness and get one more award!