IonicWind Software

IWBasic => Games and Graphics => Topic started by: GWS on March 10, 2011, 10:11:00 AM

Title: Fast Morph
Post by: GWS on March 10, 2011, 10:11:00 AM
Hi folks,

I've been trying out the new IWB2 on a really intensive 'swirling dots' graphics program.

It's most impressive.  I've increased the number of dots being swirled around from 20,000 to 30,000, and still had to include a Sleep(20) statement to make it visible - otherwise it was going too fast.  :o

This really does feel like a supercharged system now.

best wishes, :)

Graham

Title: Re: Fast Morph
Post by: whitenite1 on March 10, 2011, 11:56:30 AM
Graham..
  I really like your 'Morph' program, though I did make a small change to it:
           object=object+1
   if object>numobjs
      object=1
   endif

Changed it to :
          object = 1  + rnd (19)
This way, I won't know which shape will be shown next.

Great to watch. Mesmerizing.. Thanks

whitenite1
Title: Re: Fast Morph
Post by: GWS on March 10, 2011, 02:01:56 PM
Good idea WN ..  ;D .. I like random ..

IWB2 is most impressive.

all the best, :)

Graham

Title: Re: Fast Morph
Post by: Guilect on March 10, 2011, 07:40:05 PM
Very nice.

You are locking the buffer, so I think you can get even a little more speed by
using WRITEPIXELFAST instead of WRITEPIXEL.

Cheers.
Title: Re: Fast Morph
Post by: GWS on March 10, 2011, 11:22:02 PM
Yep, thanks for that ..  :)

It's hard to see much difference though, except that it seems to run somehow more smoothly.

But if you comment out the Sleep(20) brake statement, it goes too fast. :o

I never thought I'd see too much power for this application.

all the best, :)

Graham
Title: Re: Fast Morph
Post by: Egil on March 11, 2011, 08:10:18 AM
You never stop to amaze me with your graphic programs Graham!

Does anyone know how to make this program a screensaver?

Egil
Title: Re: Fast Morph
Post by: GWS on March 11, 2011, 10:11:21 AM
Hi Egil,

I can't take all the credit for it - it was posted as a black and white demo in 2004 by mark1up, from a program he'd found on the net in some other language ..  ::)

My only claim to fame is that I coloured it ..  :P

I thought you were the expert on screensavers Egil ..  ;D ;D

http://www.ionicwind.com/forums/index.php?topic=1893.0 (http://www.ionicwind.com/forums/index.php?topic=1893.0)

best wishes,

Graham
Title: Re: Fast Morph
Post by: Egil on March 11, 2011, 10:27:02 AM
Graham,
Didn't remember that. This must be what LarryMc calls a "senior moment"  ;)
But still.... I like the Morph program.

73's
Egil
Title: Re: Fast Morph
Post by: mrainey on March 11, 2011, 01:40:29 PM
Hi, Graham.

Just curious - did you evaluate the speed in Creative?
Title: Re: Fast Morph
Post by: GWS on March 11, 2011, 08:40:10 PM
Hi Mike,

Oh dear! .. sorry you asked that - it works, but only using 1000 dots  ::), and the performance is less than adequate.

http://www.ionicwind.com/forums/index.php?topic=1983.0 (http://www.ionicwind.com/forums/index.php?topic=1983.0)

This is where the compiled version, plus the improved graphics in IWBasic, makes all the difference.

It was one of the improvements I'd been hoping Paul would have made over the last few years, but which unfortunately never came to pass. :(

hope you and yours are well, :)

Graham