Improved Snowflakes Disco?

BlitzMax Forums/MaxGUI Module/Improved Snowflakes Disco?

Grisu(Posted 2013) [#1]
Hi!

I'm working on a new spectrum analyser with a winter theme for my radio player. I coded a little platform to show the effect in action.
The viewport is limited to 274x87 pixel, so there's not much room. You need to have Brucey's Fmod Lib installed in order to run the code.

Source code:


Background image:


Download: exe & source
http://www.mediafire.com/download/4xwu977pdqhrnwf/SnowTest.zip

If you have the time, please give it a try.
I'm looking for ways to improve it in terms of speed and effect. Keep in mind that the background image is random.

Would you use DrawRect() instead of Plot() to gain speed?

Grisu


GaryV(Posted 2013) [#2]
I did not see any snowflakes until I used a magnifying app. They looked good.

Perhaps have wind and have wind react to the music, and naturally the snow would be affected by the wind.

Also how heavy of a snow fall could be determined by the music.


Grisu(Posted 2013) [#3]
Thanks for trying it out and for the feedback.
What resolution you use on your desktop?

As the first code was to hard on some people eyes, I changed the effect and added 2 layers of snowflakes. This should be more "readable".



How can I rotate a rectangle via BMX. B3D had such a command as I recall.

|EDIT| Uploaded a full version here: http://www.mediafire.com/download/dbax8m3agq528ub/PRP_Snow.zip 'right click on a station logo to switch through the spectrum analysers.


GaryV(Posted 2013) [#4]
My resolution is 1920x1080 on a 24 inch monitor. I am old and have 20/200 vision, so that is the biggest issue. Usually I can squint and see small things, but I couldn't even see these when squinting.


Grisu(Posted 2013) [#5]
Well, that explains the issue.

Still tweaking bits & bolts: http://www.mediafire.com/download/ajngr5hgb6jjaht/PRP_Snow.zip