refactored for particleWorld.js
fixed array indexing in World
refactored canvas