MATLAB How to create clouds as background in matlab?

  • Thread starter Thread starter khurram usman
  • Start date Start date
  • Tags Tags
    Matlab
AI Thread Summary
To create moving clouds as a background in MATLAB, one effective method involves using Perlin noise to procedurally generate the cloud texture. This texture can be enhanced with a Gaussian blur and low-end color clipping to achieve transparency. For movement, the cloud image can be scrolled across the screen. Searching for "procedurally generated clouds" will provide additional techniques and resources. Implementing these methods can help achieve the desired graphical effect for the project.
khurram usman
Messages
86
Reaction score
0
hi everyone, i started using MATLAB about 3 months ago and am just aware of the basic computing i.e. for loops , while loops, if conditions. i have been given a game as a project. i was thinking of drawing its graphics first. i wanted to draw moving clouds in the background. i do not know any function to draw this nor could i think of any way to somehow create my own function. kindly help me in doing that. regards, khurram
 
Physics news on Phys.org
Clouds are usually procedurally generated by filling the screen with perlin noise, doing a guassian blur and then clipping the low-end colors to be transparent. To make them move you can just scroll the image.

Google 'procedurally generated clouds', you'll find lots of techniques.
 
Back
Top