Sure! Here's an example of a simple generative art game implemented in a single HTML file using JavaScript.
This game creates a canvas and allows players to generate colorful particles by touching and dragging on the screen. The particles move and fade out over time, creating a generative art effect.