...and yet Another Screensaver

Developed or developing a new product in PureBasic? Tell the world about it.
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

...and yet Another Screensaver

Post by r_hyde »

The timing of this is wierd, because Psychophanta just released one of these, but I just completed the first version of my own screensaver. Some of the Linux folks around here might recognize this one - it's my attempt to port an xscreensaver screenhack called 'substrate'. It used to be one of my faves, but since I've been basically windows-bound I've missed it. I haven't quite fully realized the quality of the original, but I feel I'm close enough to share it with you all. I hope you enjoy it!

File:1->Substrate.zip
Image
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Very impressive :)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Looks very nice! I haven't seen one like this before, so it's new to me but it looks quite good and cpu usage is very low here, mostly under 3%. Thanks for sharing it.
BERESHEIT
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Quite nice, would be cool if it would continue a little longer before it starts over, and if you could change things like this in a settings window or something, the speed also. :wink:
I like logic, hence I dislike humans but love computers.
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Post by Kukulkan »

WHOW! This one is great! :shock:

Kukulkan
ebs
Enthusiast
Enthusiast
Posts: 561
Joined: Fri Apr 25, 2003 11:08 pm

Post by ebs »

Joakim Christiansen wrote:Quite nice, would be cool if it would continue a little longer before it starts over, and if you could change things like this in a settings window or something, the speed also. :wink:
Joakim,

You can use the Display Properties -> Screen Saver -> Settings for this.

Regards,
Eric

P.S. r_hyde - VERY nice - Thanks! :D
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

Fascinating!! :D Thank you for making me stare at my screen for two hours without getting any work done... :lol: :lol: :wink:
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

Thanks for the comments, guys, I'm glad you like it 8) I've posted a small update to fix an issue with the restart timer. I noticed a bug where the screensaver would intermittently start over before the prescribed time.
would be cool if it would continue a little longer before it starts over, and if you could change things like this in a settings window or something, the speed also.
As ebs noted, there is a settings dialog where you can adjust the restart interval. Unfortunately, the speed is bound by the number of cycles required for computation of the effect. The larger the raster, the slower the calculation, so the only way I could make it faster would be to lower the resolution. I could make it go slower, though ;) However, there are a number of other things that I intend to add to the options in the future, such as setting the color palette, wrapping around the screen, "wandering" cracks (curvature changes randomly), displaying only the cracks (no 'watercolor' effect), etc. You can check back here periodically for updates :)
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

Thank you for making me stare at my screen for two hours without getting any work done...
Hehe, you're quite welcome :P Actually, that was a HUGE problem while I was writing this thing - once I got to a certain point it was like 10 minutes of development followed by 30 minutes of staring at the screen :lol:
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

i dont know where.. but i saw exactly the same and some other little modified examples of this effect about 2 years ago... anyway, nice done
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

I can see dead people!

Image
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

That's art!
Who needs nowadays a painter?
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

Num3, I don't understand :?
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Fascinating.

This is a GOOD one.

My son needs to take a programming course (VB) in high school. Could you share what your formulae are based on?

cheers
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

rsts, I'm glad you like it! I'm not ready to share my source code yet (though it's likely that I will at some point), but I can recommend that you go to http://complexification.net/gallery/machines/substrate/index.php and check out the applet source code. It's much cleaner than the C source code I ported from, and it makes it easy to understand the maths behind the algorithm.
Post Reply