Logo by KRAFTWERK - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. April 25, 2024, 10:20:14 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: New Java Applet Fractal Explorer Program on CodingMagic.com  (Read 6434 times)
Description: New Java Applet Fractal Explorer Program on CodingMagic.com
0 Members and 1 Guest are viewing this topic.
starplasm
Guest
« on: June 05, 2008, 10:10:14 PM »

Hello everyone! I would like to share with you a Java applet creation of mine at http://www.codingmagic.com:

http://www.codingmagic.com/StarFractal/StarFractal.html

The Java applet allows the user to explore the Mandelbrot set with real time responsiveness. The image is generated in stages as opposed to pixel-by-pixel. The GUI is very responsive to user inputs.

I have also made an informational page regarding the Mandelbrot set describing the math behind the images:

http://www.codingmagic.com/StarFractal/StarFractalHelp.html

I intend on adding descriptions of the coding behind the applet as well in due time. There are other nifty java applet coding projects on there for your amusement as well.

Comments and suggestions are always welcome. Enjoy!

Regards,
Pierre
« Last Edit: June 13, 2008, 02:57:10 AM by starplasm » Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #1 on: June 05, 2008, 11:10:53 PM »

hello there, welcome to the forum !

 police please be sure not to double posting/spammin !

the rendering method is interesting, do you render by iteration depth ? isn 't that a problem to manage the calculated areas ?
has the rendering method some speed gains ? do you use guessing inside the stripes ?  :smiley

nice work !

 afro afro
Logged

---

divide and conquer - iterate and rule - chaos is No random!
starplasm
Guest
« Reply #2 on: June 05, 2008, 11:50:20 PM »

Hello! Sorry, I did not mean to spam.   undecided

Yes, you are correct! Each frame is generated via the iteration depth. The calculated areas go untouched once they exceed the boundary limit. So, less pixels get altered as the rendering process continues. I suppose a speed gain could be considered to be the fact that you get to see the fractal as it's generated. smiley  I set an upper limit on the maximum number of iterations, but you don't have to wait for it to finish rendering to see the results. The longer you wait, the more detailed and accurate the image. smiley

I don't use any guessing techniques in generating the fractal. I prefer to have it mathematically as accurate as possible.  angel The exponential color smoothing takes care of the coloring for each pixel.

Thanks for the great observations and comments!
Pierre
Logged
Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #3 on: June 06, 2008, 02:14:30 AM »


Welcome to the forum.

That's a fun little toy!

Nice work and thanks for sharing.
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #4 on: June 06, 2008, 03:28:27 AM »

it is nice to lookat when it builds the fractal !  wink

a hint for the current/iteration would be nice, so that when black screen, the user sees that something goes on ...

beside of that an estimation should be made of the first line visible, i would suggest you calc a 9x9 rectangle of dots the border, and the center, and take the lowest iteration depth as estimator when the first thing is visible on screen ...  smiley

 afro
Logged

---

divide and conquer - iterate and rule - chaos is No random!
starplasm
Guest
« Reply #5 on: June 06, 2008, 05:27:10 PM »

Hi Trifox,

Thank you for the suggestions! I have updated the applet - it will now show the iteration number in the status bar of the web browser.  cheesy

I have a few ideas for improving the zoom feature. I'll have a look at that this weekend.

Thanks again!
Pierre
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #6 on: June 06, 2008, 06:59:03 PM »

nicely done, now you can check the number in the status bar when the first pixel becomes visible,
that should be the 'hinting' number... wink

but some further notes:
ok, i like the option to continue a started calculation, but i do not like to wait for the result on the screen is visible,
i thought before of a similar method, but i was rendering the image up to a certain iteration depth ( e.g. 25 ) to see the contours,
after that i have a list of not-escaped points, and then i start to continue those pixels who have not diverged yet.

another thing to mention:
by using the browser bar as a status display, you are using an external component dependant to your program, what happens if the applet is run standalone?

continue the good work!

 afro afro afro afro
« Last Edit: June 06, 2008, 11:15:42 PM by Trifox » Logged

---

divide and conquer - iterate and rule - chaos is No random!
starplasm
Guest
« Reply #7 on: June 07, 2008, 04:23:33 AM »

Hi Trifox,

I made the applet work a bit differently now in terms of the user interface for the zoom rectangle. I forced the applet to be square, i.e. 1:1 aspect ratio. I forced the rectangle for the zoom interface to always show exactly the area into which the user will be zooming into the fractal. Previously I used a resize method based upon the user input while maintaining the aspect ratio. With the new method, what you see in the blue selection rectangle will be exactly what you get. I also made sure that the applet indicates in the status bar when it has completed the maximum number of iterations or when no pixels need any further refinement.

http://www.codingmagic.com/StarFractal/StarFractal.html

I'll look into making the zoom function give more feedback initially when zoomed in deep into the fractal in the next couple of days.

Thanks again for the great suggestions! smiley
Pierre
Logged
starplasm
Guest
« Reply #8 on: June 10, 2008, 07:17:07 PM »

Hello again fractal fanatics!

StarFractal has been upgraded to v1.1 Beta!

http://www.codingmagic.com/StarFractal/StarFractal.html

It has been rewritten such that it will now store the previous fractal view such that the user can return to it and continue the fractal calculation! A feature for previewing the area of the fractal into which the applet zooms will be added in the near future.

Enjoy!
Pierre
Logged
starplasm
Guest
« Reply #9 on: June 12, 2008, 10:37:33 PM »

Hi Trifox,

I updated StarFractal to v1.1, which now includes a bicubic resize routine that runs immediately after each zoom command that the user performs. So, instead of seeing a black screen initially, you see a preview image of the fractal from the data in the previous iteration. The preview image gets updated after each iteration and becomes the exact fractal calculation in the end.

http://www.codingmagic.com/StarFractal/StarFractal.html

Cheers!
Pierre

http://www.codingmagic.com
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #10 on: June 13, 2008, 12:20:44 PM »

hi there, ok, that is better,

but i have pixel trash in the black areas when zooming, and this trash areas do not get correctly overdrawn

 police police police
Logged

---

divide and conquer - iterate and rule - chaos is No random!
starplasm
Guest
« Reply #11 on: June 13, 2008, 06:35:39 PM »

hi there, ok, that is better,

but i have pixel trash in the black areas when zooming, and this trash areas do not get correctly overdrawn

 police police police

Hi Trifox,

If you allow the iterations to go to completion (300 iterations total), then the black areas will get correctly drawn after the 300th iteration is completed. smiley

I didn't realize that the bicubic resize was not working correctly at first. Thank you for pointing that out.  smiley The "trash areas" were caused by the fact that I was interpolating between color indices in my color table as opposed to the actual RGB color values. That's what caused the "trash areas" to occur. I have fixed the problem as of today, and everything is now working properly.  cheesy

Check it out! http://www.codingmagic.com/StarFractal/StarFractal.html

Pierre

http://www.codingmagic.com
« Last Edit: June 14, 2008, 03:32:11 PM by starplasm » Logged
GFWorld
Fractal Fanatic
****
Posts: 329



WWW
« Reply #12 on: June 19, 2008, 05:42:50 PM »

>Check it out! http://www.codingmagic.com/StarFractal/StarFractal.html

Pierre - it´s really fascinating ! :-)))
Margit

Logged
Duncan C
Fractal Fanatic
****
Posts: 348



WWW
« Reply #13 on: September 04, 2008, 02:13:06 AM »

Hello everyone! I would like to share with you a Java applet creation of mine at http://www.codingmagic.com:

http://www.codingmagic.com/StarFractal/StarFractal.html

The Java applet allows the user to explore the Mandelbrot set with real time responsiveness. The image is generated in stages as opposed to pixel-by-pixel. The GUI is very responsive to user inputs.

I have also made an informational page regarding the Mandelbrot set describing the math behind the images:

http://www.codingmagic.com/StarFractal/StarFractalHelp.html

I intend on adding descriptions of the coding behind the applet as well in due time. There are other nifty java applet coding projects on there for your amusement as well.

Comments and suggestions are always welcome. Enjoy!

Regards,
Pierre


Your applet won't load on my machine (Mac running Leopard and Safari browser.)
Logged

Regards,

Duncan C
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Very Large Fractal Image creation program in Java Introduction to Fractals and Related Links reddev 0 3334 Last post October 26, 2010, 11:58:34 AM
by reddev
zoomcut - a newbie's java-applet for yet another true 3d-fractal Announcements & News EvaB 0 2094 Last post January 04, 2011, 06:44:47 PM
by EvaB
SiFrax Multi-Threaded Java Fractal Explorer Announcements & News JVillella 13 7544 Last post January 22, 2012, 11:31:02 PM
by JVillella
JAVA applet like FRACTAL EXTREME Plugins hgjf2 0 2327 Last post May 31, 2013, 09:06:20 AM
by hgjf2
Gradient editor design for a fractal explorer program Programming zenzero-2001 8 3517 Last post September 04, 2014, 06:20:02 PM
by zenzero-2001

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.176 seconds with 25 queries. (Pretty URLs adds 0.012s, 2q)