Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
i would like to write plasma demo using sin table as i have not done
something like this before. i would like to use it as a visual plugin
to my mp3 player.
i have searched all of google and have yet to find a decent tutorial
on how to write a 'sin' based plasma demo. if any of you can help that
would be great.
moving on i gather the plasma is created as a result of adding
multiple sin equations together and using that as the color index or
do 3 separate ones to get values for RGB.
my question by using the sin table sometimes the index value can be
negative (0 to 360 angle)! how do i avoid this? do i just cache the sin table with the
positive value region of sin?
thanks in advance,
0 · ·