Click here for free DL of the app version that can save data.
No:27459 67
Prev Next
Generative Art
Developer User13658|Date and time 23/12/7 3:51:20
Build time 43.946 sec|Game capacity 3.429KB|Script


Sure! Here's a simple example of generative art implemented as a game in a single HTML file using JavaScript:




This HTML file sets up a canvas element and a JavaScript block to generate and draw random shapes (rectangles and circles) on the canvas. The shapes are filled with random colors, generated using the `getRandomColor()` function. The `drawShapes()` function is called initially and whenever the canvas is clicked. To play the game, simply open the HTML file in a smartphone browser and tap on the canvas to generate new random shapes. Note: This is a very basic example of generative art as a game. You can modify and enhance it as per your requirements, adding more game mechanics, rules, and interactions.

Prev Next   Back  0  0 Menu 

[PR]現在の欲しいゲームランキング

Click here for free DL of the app version that can save data.

(C)2023 HisashiApp