Results 1 to 5 of 5

Thread: Weird Plasma

Threaded View

  1. #1
    Zaei
    Guest

    Weird Plasma

    I am having a strange problem. I am using a plasma function in VB, and it works great, but it is mush to slow. So, I tried to convert it into C++, but the function seems to be returning incorrect values. I have attached an image of just how odd it looks. The function is this:
    Code:
    32 + 63 * fabs(sin(hypot(400 - j, 400 - i) / 72) + cos(0.5 * 13 * sin(i / 65) + sin(j / 50)));
    Any help is appreciated.

    Z.
    Attached Images Attached Images  

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