1 /** 2 * Abstract; not implemented. There is no explicit constructor; this class 3 * merely serves to document the attributes that are used on particles in 4 * physics simulations. 5 * 6 * @class A weighted particle that can participate in a force simulation. 7 * 8 * @name pv.Particle 9 */ 10 11 /** 12 * The next particle in the simulation. Particles form a singly-linked list. 13 * 14 * @field 15 * @type pv.Particle 16 * @name pv.Particle.prototype.next 17 */ 18 19 /** 20 * The <i>x</i>-position of the particle. 21 * 22 * @field 23 * @type number 24 * @name pv.Particle.prototype.x 25 */ 26 27 /** 28 * The <i>y</i>-position of the particle. 29 * 30 * @field 31 * @type number 32 * @name pv.Particle.prototype.y 33 */ 34 35 /** 36 * The <i>x</i>-velocity of the particle. 37 * 38 * @field 39 * @type number 40 * @name pv.Particle.prototype.vx 41 */ 42 43 /** 44 * The <i>y</i>-velocity of the particle. 45 * 46 * @field 47 * @type number 48 * @name pv.Particle.prototype.vy 49 */ 50 51 /** 52 * The <i>x</i>-position of the particle at -dt. 53 * 54 * @field 55 * @type number 56 * @name pv.Particle.prototype.px 57 */ 58 59 /** 60 * The <i>y</i>-position of the particle at -dt. 61 * 62 * @field 63 * @type number 64 * @name pv.Particle.prototype.py 65 */ 66 67 /** 68 * The <i>x</i>-force on the particle. 69 * 70 * @field 71 * @type number 72 * @name pv.Particle.prototype.fx 73 */ 74 75 /** 76 * The <i>y</i>-force on the particle. 77 * 78 * @field 79 * @type number 80 * @name pv.Particle.prototype.fy 81 */ 82