changeset 33:f51199aed026

Added new class.
author ptisnovs@dhcp-lab-190.englab.brq.redhat.com
date Mon, 30 Nov 2009 11:49:57 +0100
parents 98e85df55524
children 2f6e44876b04
files Mandelbrot.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Mandelbrot.java	Mon Nov 30 11:49:57 2009 +0100
@@ -0,0 +1,4 @@
+public class Mandelbrot{static{float _,P,a,v,e,l=-1.5f;for(;l
+<1.439;l+=.06)for(e=-2;e<1.94;e+=.05){P=a=_=0;while(P*P+(v=a*
+a)<4&&_++<13){a=2*P*a+l;P=P*P-v+e;}System.out.print((" .,`-"+
+":;+=:..: H\n").charAt(e>-1.96?(int)_:15));}System.exit(0);}}