Bacteria3D-01

Your browser needs java to view projects. Click here to install Java.

user_icon dbal shared it 1 year, 5 months ago
user_icon Based on dbal's project
43 views, 2 taggers, 2 people love it, 7 downloads
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
Cyclone103 Cyclone103 1 year, 5 months ago

just assume that "while" is "repeat until not". Also, <= would roughly translate to < or =

Cyclone103 Cyclone103 1 year, 5 months ago

I can only get a red background with a black dot in the middle! Do you know what I could do to change this so it works?

Cyclone103 Cyclone103 1 year, 5 months ago

Ok, here is the psuedocode I found: For each pixel on the screen do: { x = x0 = x co-ordinate of pixel y = y0 = y co-ordinate of pixel iteration = 0 max_iteration = 1000 while ( x*x + y*y <= (2*2) AND iteration < max_iteration ) { xtemp = x*x - y*y + x0 y = 2*x*y + y0 x = xtemp iteration = iteration + 1 } if ( iteration == max_iteration ) then colour = black else colour = iteration plot(x0,y0,colour) }

Cyclone103 Cyclone103 1 year, 5 months ago

Mr. Baldwin, do you know anything about the Mandelbrot set? I have been attempting to program one based off of a psuedocode I found on Wikipedia. It does not work at all! It appears red, except for a black patch in the middle. Could you please help me?

dbal dbal 1 year, 5 months ago

I would be pleased to help if I could, but I have never written a Mandelbrot program in any language.

Cyclone103 Cyclone103 1 year, 5 months ago

(link to project) here it is! Sorry it took so long

dbal dbal 1 year, 5 months ago

Thanks

Paddle2See Paddle2See* 1 year, 5 months ago

Now we need a penicillin simulation...just look at all these things!

fullmoon fullmoon 1 year, 5 months ago

Tennis balls meet binary fission...fun!

Cyclone103 Cyclone103 1 year, 5 months ago

yes, when run in Java it is a bit different.....the size is a bit larger in Java than in the actual program itself. Slobasso did an experiment which proved this. If you like, I can post a link to it.

dbal dbal 1 year, 5 months ago

Yes, I would like to see that link.

Cyclone103 Cyclone103 1 year, 5 months ago

Once again, bacteria projects are very cool!

dbal dbal 1 year, 5 months ago

It took me a few tries to get it to run properly online. I had a problem getting the collision test to work properly in the online version even though it worked fine in local mode.

Please Wait...