import flash.display.Sprite;
import flash.events.Event;
import org.papervision3d.view.*;
import org.papervision3d.scenes.Scene3D;
import org.papervision3d.cameras.Camera3D;
import org.papervision3d.materials.*;
import org.papervision3d.render.BasicRenderEngine;
import org.papervision3d.materials.special.*;
import org.papervision3d.core.geom.*;
import org.papervision3d.core.geom.renderables.*;
var viewport: Viewport3D;
var scena: Scene3D;
var camera: Camera3D;
var renderer: BasicRenderEngine;
viewport = new Viewport3D(400, 200, true, true);
addChild(viewport);
scena = new Scene3D();
camera = new Camera3D();
camera.y=0;
camera.z=-200;
renderer = new BasicRenderEngine();
var particelle:Particles = new Particles();
var particleMaterial:ParticleMaterial = new ParticleMaterial(0x777777,1,ParticleMaterial.SHAPE_CIRCLE);
var dimensione = 5;
var numeroParticelle = 300;
for(var i : int = 0; i