@Override
    public void simpleInitApp() {
        emit = new ParticleEmitter("Emitter", Type.Triangle, 300);
        emit.setGravity(0, 0, 0);
        emit.getParticleInfluencer().setVelocityVariation(1);
        emit.setLowLife(1);
        emit.setHighLife(1);
        emit.getParticleInfluencer()
                .setInitialVelocity(new Vector3f(0, .5f, 0));
        emit.setImagesX(15);
        Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
        mat.setTexture("Texture", assetManager.loadTexture("Effects/Smoke/Smoke.png"));
        emit.setMaterial(mat);
        
        rootNode.attachChild(emit);
        
        inputManager.addListener(new ActionListener() {
            
            @Override
            public void onAction(String name, boolean isPressed, float tpf) {
                if ("setNum".equals(name) && isPressed) {
                    emit.setNumParticles(1000);
                }
            }
        }, "setNum");
        
        inputManager.addMapping("setNum", new KeyTrigger(KeyInput.KEY_SPACE));
    }
Particle that moves in a circle.

@author Kirill Vainer
jme3-examples/src/main/java/jme3test/effect/TestMovingParticle.java