Results 1 to 2 of 2

Thread: Drawing wavey line?

  1. #1

    Thread Starter
    Member AirScape17's Avatar
    Join Date
    Aug 2002
    Location
    England
    Posts
    34

    Drawing wavey line?

    Given something like:
    Code:
    Randomize Timer
    Dim wave(1 To 30) As Integer
    For a = 1 To 30
        wave(a) = Rnd * 100 - 50
    Next
    What would be the math for drawing a curve between each 'wave(n)' point at, say, 15 pixel intervals? (ie, like a sound wave)

  2. #2
    Addicted Member
    Join Date
    Nov 2002
    Posts
    155
    I'm sure you'll find something at Mathworld, perhaps in the geometry area?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width