Help With Pseudo Coded Algorithm for The Diamond-Square Algorithm

  1. 1. The problem statement, all variables and given/known data

    I am trying to write a pseudocoded recursive algorithm.

    Algorithm is located @: http://gameprogrammer.com/fractal.html#diamond

    I am getting the ending wrong.

    2. Relevant equations

    Do diamond step.
    Do square step.
    Reduce random number range.
    Call myself four times.


    [From link above]
    3. The attempt at a solution

    My attempt:

    1. The problem statement, all variables and given/known data



    2. Relevant equations



    3. The attempt at a solution
     
  2. jcsd
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?

0
Draft saved Draft deleted
Similar discussions for: Help With Pseudo Coded Algorithm for The Diamond-Square Algorithm
Loading...