Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to create clouds as background in matlab?

  1. Apr 9, 2012 #1
    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
     
  2. jcsd
  3. Apr 9, 2012 #2

    DavidSnider

    User Avatar
    Gold Member

    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: How to create clouds as background in matlab?
  1. Create script matlab (Replies: 3)

Loading...