<canvas id="canvas" resize></canvas>
<div id="money">$</div>
body {
  overflow: hidden; /* Hide scrollbars */
}

*{
	margin:0;
	padding:0;
}
body{
  cursor:none;
	background: #000000;
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#000000), color-stop(100%,#222222));
	background: -webkit-radial-gradient(center, ellipse cover, #000000 0%,#000000 100%);
	background: radial-gradient(ellipse at center, #CC0000 0%,#000000 100%);
}
canvas{
	display:block;
}
#money{
	position:absolute;
	font-size:60px;
	font-family:Metrophobic;
	font-weight:bold;
	color:#FFFFFF;
	left:50%;
 	top:40%;
	text-shadow:0 5px 3px rgba(0,0,0,0.5);
	animation:breeze 1s infinite ease;
} 
@keyframes breeze{
	0% {  font-size:60px;}
	50% {  font-size:70px;}
	100% {  font-size:60px;}
}
paper.install(window);
 window.onload = function() {
	var canvas = document.getElementById('canvas');
	var ctx = canvas.getContext('2d');
	var left_hand = new Image();
	left_hand.src = 'https://killacorp.com/wp-content/uploads/2020/06/handblackwhite.png';
	var right_hand = new Image();
	right_hand.src = 'https://killacorp.com/wp-content/uploads/2020/06/handblackwhite2.png';
	var money;
	var moneySign = document.getElementById('money');
	
	Hand = Raster;
	Hand.prototype.velocity = new Point(0,0);
	Hand.prototype.acceleration = new Point(0,0);
	Hand.prototype.mass;
	Hand.prototype.limit;
	Hand.prototype.angle = 0;

	Hand.prototype.applyPowerOfMoney = function(money_power){
		var money_power = new Point(money_power.x/this.mass, money_power.y/this.mass);
		this.acceleration = this.acceleration.add(money_power);
	}

	Hand.prototype.update = function(money,delta){
		this.velocity = this.velocity.add(this.acceleration);
		if(magnitude(this.velocity) > this.limit)
		{
			this.velocity = this.velocity.normalize();
			this.velocity = this.velocity.multiply(this.limit);
		}
		this.position = this.position.add(this.velocity);
		this.position = this.position.add(new Point(random(.2, 1), random(.2, 1)));
		this.acceleration = this.acceleration.multiply(0);
		this.image = this.position.x < money.x ? this.image = left_hand : this.image = right_hand;
		var deltaX = this.position.x - money.x;
		var deltaY = this.position.y - money.y;
		var angleDegrees = Math.atan2(deltaY, deltaX) * 180 / Math.PI;
		angleDegrees = this.position.x < money.x ? angleDegrees - 180 : angleDegrees;
		this.rotate(-this.angle);
		this.angle = angleDegrees;
		this.rotate(this.angle);
	}

	Money = Point;
	Money.prototype.mass = 40;

	Money.prototype.getItNow = function(hand){
		var force = new Point(this.x,this.y);	
		force = force.subtract(hand.position);
		var distance = magnitude(force);
		distance = scale(distance,10,20);
		force = force.normalize();
		var strength = (2 * this.mass * hand.mass) / (distance * distance);
		force = force.multiply(strength);
		return force;
	}

	paper.setup(canvas);
	var money = new Money(canvas.width*.5,canvas.height*.5);

	document.onmousemove = function(e){
		money.x = e.pageX;
		money.y = e.pageY;
		moneySign.style.top = money.y - 30  + 'px';
		moneySign.style.left = money.x - 5 + 'px';
	}

	left_hand.onload = function(){
		for(var i = 0; i < 50; i++){
			var hand = new Hand(left_hand);
			hand.position = new Point(Math.random()*canvas.width,Math.random()*canvas.height);
			hand.scale(random(.3,.8));
			hand.limit = random(5,6);
			hand.mass = random(10,12);
		}
		view.onFrame = function(event) {
			var hands = project.activeLayer.children;
			for(var j = 0; j < hands.length; j++){
				hands[j].update(money,event.delta);
				var money_power = money.getItNow(hands[j]);
				hands[j].applyPowerOfMoney(money_power);	
			}	
		}
	}
	
	random = function(a,b){
		return Math.random() * (b - a) + a;
	}
	magnitude = function(vector){
		return Math.sqrt(vector.x * vector.x + vector.y * vector.y);
	}
	scale = function(value,min,max){
		if(value < min){
			value = min;
		}
		if(value > max){
			value = max;
		}
		return value;	
	}
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/paper.js/0.22/paper.js