What’s on our mind?
Collection of articles, design, site, and resources made by designers and publisher
@Menu View
Javascript 1건이 검색되었습니다.
const heart = ' '; const star = ' ' const cloud = ' ' const data = [heart, star, cloud] const max = 50 let particles = [] class Ball { constructor(shape) { this.shape = $(shape) this.speed = 2 + Math.random() * 6 this.vx = (Math.random() * this.speed) - (Math.random() * this.speed) this.vy = (Math.random() * this.speed) - (Math.random() * this.speed) this.radius = 10 + Math.round(Math.random() *..
@webs
Javascript