• Welcome to Dark Bit Factory & Gravity.
 

[MAGNIFICATION] Bacteria

Started by Jim, July 20, 2009

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Jim

Here's my entry for the comp.

It's a simulation of bacteria and mold.

The bacteria have a few plans
1. Subdivide!
2. Move away from overcrowded areas
3. Avoid stress by aligning with the local bugs

The mold has one plan
1. Kill bacteria!

Press the spacebar to enter into debug mode.  The red blocks indicate the population density, the green arrows with the blobs on the end indicate which way a bacteria should move to get away from the crowd.  White circles are the mold.

Alt-Enter to go full screen (800x600x60)

Let me know if it's too slow for you and I'll make one with fewer bugs.

Have a lot of fun!

Jim

<edit> fixed the bug which was making it go in debug mode and crash on exit
Challenge Trophies Won:

Shockwave

hehe, that's a super idea Jim, I love the luminescence of the bacteria :)
Shockwave ^ Codigos
Challenge Trophies Won:

hellfire

Very cool!
But for some reason it switches to "debug mode" by its' own after a while and doesn't want to go back to normal...
(WinXP, Geforece8600GTS).
Challenge Trophies Won:

Shockwave

Same thing happened here too after about 5 seconds
Shockwave ^ Codigos
Challenge Trophies Won:

Jim

#4
Bizarre!  That'll be me trashing ram then  :crutches:

Jim
<edit> attached, debug build with no kkrunchy.
<edit2> fixed the bug properly in the first post.
Challenge Trophies Won:

hellfire

Works and memory-usage keeps constant :)
Challenge Trophies Won:

benny!

Thats an awesome idea and well done, Jim. I like the effect a lot.
Runs fine here with no cpu/memory problems!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

slinks

Heh, this computer is ancient, the whole thing slowed to a crawl when I wasn't in debug mode. Really cool to watch, maybe needed a few more bacteria though, to help divide the crowd up a little more, and force the bacteria in interesting directions.

Still not sure how you managed to get so many of the things moving about on the screen at once though!
I love semi-colons way too much ^^;
Challenge Trophies Won:

ferris

Didn't like the auto debug mode thing I got....but the concept was perfect for the challenge :)

Also it crashed on escape, but it's no big deal.
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

combatking0

Great stuff! This may have educational properties. Does the mould kill the bacteria on contact?
You are our 9001st visitor.
Challenge Trophies Won:

Jim

A demo with educational potential?  Pppt!  Yes it does kill on contact.  Like Domestos.

Jim
PS.  This is also a bump to say I've uploaded a zip with the debug mode bug fixed.
Challenge Trophies Won:

Shockwave

This works great now Jim :) Thanks for uploading the final version.
Shockwave ^ Codigos
Challenge Trophies Won:

combatking0

Now it looks even better!
You are our 9001st visitor.
Challenge Trophies Won:

Rbz

Challenge Trophies Won:

ferris

Much better with the debug mode fix :)
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Pixel_Outlaw

I really like the organic effect! Complexity from simple rules. Very nice entry Jim!
Challenge Trophies Won:

Way.net

Good work Jim definitely a grower ;)

Jim

Challenge Trophies Won:

va!n

Wow, that effect looks extreme cool and runs very smooth.... was fun to look a while to the effect.... very nice done and great idea/concept!
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Yaloopy

Fuck L. Ron Hubbard and fuck all his clones.
Challenge Trophies Won: