March 28, 2024, 08:27:24 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Fast Morph

Started by GWS, March 10, 2011, 10:11:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GWS

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

Tomorrow may be too late ..

whitenite1

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

GWS

Good idea WN ..  ;D .. I like random ..

IWB2 is most impressive.

all the best, :)

Graham

Tomorrow may be too late ..

Guilect

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.

GWS

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
Tomorrow may be too late ..

Egil

You never stop to amaze me with your graphic programs Graham!

Does anyone know how to make this program a screensaver?

Egil
Support Amateur Radio  -  Have a ham  for dinner!

GWS

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

best wishes,

Graham
Tomorrow may be too late ..

Egil

Graham,
Didn't remember that. This must be what LarryMc calls a "senior moment"  ;)
But still.... I like the Morph program.

73's
Egil
Support Amateur Radio  -  Have a ham  for dinner!

mrainey

Hi, Graham.

Just curious - did you evaluate the speed in Creative?
Software For Metalworking
http://closetolerancesoftware.com

GWS

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

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
Tomorrow may be too late ..