Flame made with AI
Just watch this.
PC - Smartphone
DESCRIPTION
This is an HTML representation of fire created by AI.HOW TO MAKE/PROMPT
Created using Claude sonnet. The prompt was as follows:make flame with HTML5To be honest, it took me about an hour just to create this. Is there a better way to phrase it? Maybe it is good to ask to make it look more like a natural flame, like fire.
- 400x400 canvas, black background
- The flame should have a gradient of colors ranging from red at the base, transitioning to orange and yellow
- The particles should move in a flickering, random manner to simulate the natural movement of fire.
- The size of the particles should be smaller at the center and larger as they move outward.
- The particles should have a short lifespan, quickly fading out to mimic the ephemeral nature of flames.
- New particles should be constantly generated from a central source, like the wick of a candle or the logs of a campfire.
What if there is an error?
<< menu
On-site search