Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Hypnotic particles and gravity wells

Author
Message
flibX0r
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 6th Mar 2005 18:32 Edited at: 6th Mar 2005 19:23
twas quite bored lately, whipped this up. it pretty much explains itself when you watch it. But stare at it for too long, it has a hypnotic effect. Its mostly commented so you can understand whats happening (gravity function isn't though)



feedback would be much appreciated

EDIT: Updated code

EDIT2: here's a screenshot from my codebase entry




You can't wield supreme executive power just because a watery tart threw a sword a you
Trev
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Canada, Ontario
Posted: 7th Mar 2005 06:12 Edited at: 24th Feb 2008 22:19
..

Trevor Somerville
flibX0r
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 7th Mar 2005 19:31
well, tis just something i did when i was bored, and its got some features that people might find interesting (trail effect, gravityness)


You can't wield supreme executive power just because a watery tart threw a sword a you
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 9th Mar 2005 20:44
That's not useless, it's a damn good tech demo! On it's own, maybe useless, but incorporated into another app it has much potential.

Good work!

BatVink
flibX0r
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 9th Mar 2005 21:05
Cheers BatVink. I'm bored again tonight, so i'm gonna play around with my code and add some stuff to it


You can't wield supreme executive power just because a watery tart threw a sword a you
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 14th Mar 2005 01:24
Very nice effect, would be cool to be able to move the gravity wells with the cursor.
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 14th Mar 2005 01:39
Cooooool! Its even cooler when you control the first gravity well with the mouse:




"Lets migrate like bricks" - Me
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 14th Mar 2005 22:01
For some extra speed, replace the VERY slow dot command with:

box p(i).x,p(i).y,p(i).x+1,p(i).y+1

and try changing sync rate to 0

Boo!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Mar 2005 08:03
Woooah, what's all that about then!!

Changed the dot to a box as Spooky suggested, and the frame rate rockets from 20 FPS to 135 FPS !!!!

BatVink
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 26th Mar 2005 01:00
How would you make the mouse wheel very the gravity pull on this?

Very cool will be even better when I see how you made it do it.

In Space No One can Hear You Scream! (When your comm Line is cut?)
Sepheus
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location:
Posted: 3rd Jun 2005 05:19
Top notch program. Really quite interesting to watch.

Cogeto Ergo Sum
Tommy S
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location:
Posted: 24th Jun 2005 06:00
i am sooo impressed tried to do something like that in 3d for the tanks/operation wolf compo and failed miserably. It bloody hypnotic too!!!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 24th Jun 2005 07:03
Replaced with boxes:

That looks so cool!

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.dbspot.com
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 2nd Jul 2005 19:17
awsome program

If you want anything DB related hosted, log in (with ws ftp or something) www.lysergium.net with username public@lysergium.net and password public. you'll be directed to lysergium.net/public
Eddie B
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location:
Posted: 14th Jul 2005 04:26

Login to post a reply

Server time is: 2024-11-27 02:54:29
Your offset time is: 2024-11-27 02:54:29