(x,y)
| 27 | class Particle{ |
| 28 | |
| 29 | constructor(x,y){ |
| 30 | this.x=x; |
| 31 | this.y=y; |
| 32 | this.size=3; |
| 33 | this.baseX=this.x; //holds the initial position of particle |
| 34 | this.baseY=this.y; |
| 35 | this.density=(Math.random()*10)+1; |
| 36 | this.distance; |
| 37 | |
| 38 | } |
| 39 | draw(){ |
| 40 | ctx.fillStyle="rgba(255,255,255,0.8)"; |
| 41 | ctx.strokeStyle="rgba(34,147,214,1)"; |
nothing calls this directly
no outgoing calls
no test coverage detected