Saturday, April 09, 2022

Scratch chimney smoke clones

I got this idea from a project by njasia (How to Clone) on the Scratch site. The main changes I made were using a timer to vary the wind.
My chimney smoke clone project is here

The smoke particles were made with a ball filled with a black colour

The size and brightness of those particles was set to realistic values
Smoke clones were created
A wind variable was made and the value randomised every 3 seconds by resetting the timer every 4 seconds
Realistic smoke effects were achieved by increasing y (to make it rise) and adding the changing wind to another random x (to achieve some spread of smoke). When the smoke clones touched the top edge they were destroyed
This could be varied to make fireworks, snow or mouse trails, not to mention games. as suggested in the Scratch wiki here

Update (15/4/22): Animating a visual poem by Joan Brossa with Scratch
A how to article with a link to a great project. This one is more work because you need images of the whole alphabet.

No comments: