> For the complete documentation index, see [llms.txt](https://kree.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kree.gitbook.io/documentation/code-snippets/implementing-particle-system.md).

# Implementing Particle System

```java
public class SceneNameHere extends Scene {

    private GameObject particleSystem = new GameObject(this, "My Particle");

    public Scene(Game game) {
        super(game);
    }

    @Override
    public void Initialize() {
        particleSystem.getTransform().setPosition(new Vector2(32, 32));
        particleSystem.addComponent(new ParticleSystem(particleSystem, ParticleSystem.TYPE_CIRCULAR, 3, 16, 1, 2, 100, 32, Color.ORANGE));
    }

    @Override
    public void Update() {

    }

    @Override
    public void Render(Graphics g) {

    }

}
```
