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.

Program Announcements / Particles (Beta)

Author
Message
HyperByte
17
Years of Service
User Offline
Joined: 3rd Jan 2007
Location: in a small kola bear costume
Posted: 17th Nov 2007 05:53 Edited at: 17th Nov 2007 05:56
here is the 2-dimensional particle physics demo that I created.


controls:
left click-drop particles
left click+shiftkey-eraser
left click+right click-free style draw
right click- draws a line after 2 clicks
number keys 1-7 - changes speed of gravity
spacebar-reverses gravity



Enjoy!

On a scale from one to ten one being very smart and ten being an absolute genius your none of the above

Attachments

Login to view attachments
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Nov 2007 08:00
Show screenshot please.

Cheers,

-naota

"I'd newbie slap here, but I've no idea how far I'd need slap before they'd come back with a clue." - VanB
Aex.Uni forums
Mr Kohlenstoff
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Germany
Posted: 17th Nov 2007 12:59
Cool, looks like the falling sand game.

Runs very slow though, I had <1 FPS with 400 particles.



n008
16
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 17th Nov 2007 18:01
Sweet, DB falling sand game

HyperByte
17
Years of Service
User Offline
Joined: 3rd Jan 2007
Location: in a small kola bear costume
Posted: 17th Nov 2007 19:18
try speeding up the gravity force (1-7 keys)

@Mr Kohlenstoff - how fast is your processor?

On a scale from one to ten one being very smart and ten being an absolute genius your none of the above
HyperByte
17
Years of Service
User Offline
Joined: 3rd Jan 2007
Location: in a small kola bear costume
Posted: 19th Nov 2007 23:13
Heres the newer version!

new features:

-water particles

new controls:

control key (changes between sand and water particles)

hints:
try using water particles to dissolve the sand!

On a scale from one to ten one being very smart and ten being an absolute genius your none of the above

Attachments

Login to view attachments
flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 21st Nov 2007 23:23
the sand just goes throughthe walls...


"these shoes are 300 hundred dollars"-Shoes by Kelly http://smallgroupproductions.com/
Jeff032
16
Years of Service
User Offline
Joined: 13th Aug 2007
Location:
Posted: 22nd Nov 2007 05:38
just a few things...

1) the particles fall through the 'line' walls, if I use the free style draw, that works
2) the eraser doesn't erase particles
3) the particles seem a bit jumpy, it can't be because of the frame rate because the free style draw works smoothly, perhaps the resolution just makes it seem that way?
4) even though the sand gets dissolved, the number of particles stays the same instead of decreasing

-Jeff

HyperByte
17
Years of Service
User Offline
Joined: 3rd Jan 2007
Location: in a small kola bear costume
Posted: 22nd Nov 2007 19:50
yeah there is a glitch still with walls being "dissolved" that Im going to soon fix.

The program does indeed act laggy (which Im constantly trying to improve) this is due to each particle doing about 10 calculations everytime. There is already a ton of code in there to drastically reduce what the lag would normally be. Ill make it better soon!

On a scale from one to ten one being very smart and ten being an absolute genius your none of the above
NeX the Fairly Fast Ferret
18
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 22nd Nov 2007 22:36
I don't think DB is really suitable for this. You need software with very quick pixel drawing and extremely quick variable manipulation. I'm not denying it works. I simply think that for things like this, a DLL or another language such as PureBasic would pull it off a thousand times better.


Since the other one was scaring you guys so much...

Login to post a reply

Server time is: 2024-03-29 14:01:19
Your offset time is: 2024-03-29 14:01:19