Re: Ascii Mandelbrot program (examples included!!)
From Nathan Kennedy <ken...@NOSPAM.com.tw>
· alt.ascii-art
· 8 Oct 1997 00:00 · View full thread
· report
In article <61g7ra$78h$1...@newsserver.rrzn.uni-hannover.de> nos...@nospam.nospam (Curd Reinert) writes: >In article <ken...@nospam.com.tw>, > ken...@NOSPAM.com.tw (Nathan Kennedy) writes: >[...] >>But I thought it would be nice to have ascii fractals, so I went and modified >>it to calculate 6 pixels per character and use the anti-aliasing algorithm >>described in an old ascii art FAQ to display them. Theoretically, it has 150% >>better resolution, and it doesn't look bad. Of course, without colors it >>doesn't have the level sets, and filaments of course disappear. >[...] > I found a three liner in C producing a Mandelbrot set. However, it was >never supposed to do any kind of ascii-art, but to show how obscure >C code can be. Here it is: >float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L|| >(h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++ _==L&&write(1,(--s%L?_<L?--_ >%6:6:7)+"World! \n",1)&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;} <output snipped> Wow.... I'm am really impressed. I had envisioned that the Mandelbrot set could be encoded in that little space, but I hadn't expected that kind of output... It doesn't do any anti-aliasing, but it does the level sets which makes it look really impressive... What can I say? Anyhow, version 1.2b of ANSIMAN should now be available by http at http://www.inside.com.tw/~kennedy/ansiman.zip and is about 33 K, if anyone wants it now. The official author's homepage of ANSIMAN (with version 1.2) is at http://www.cba.ua.edu/~jrobert1/ansiman/ Coding till I post again, Nathan Kennedy e-mail: kennedy AT inside DOT com DOT tw spambot bait: postmaster@127.0.0.1
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,6c19a50e8da9cb42 X-Google-Attributes: gidf996b,public From: ken...@NOSPAM.com.tw (Nathan Kennedy) Subject: Re: Ascii Mandelbrot program (examples included!!) Date: 1997/10/08 Message-ID: <ken...@NOSPAM.com.tw>#1/1 X-Deja-AN: 278738989 References: <ken...@nospam.com.tw> <61g7ra$78h$1...@newsserver.rrzn.uni-hannover.de> Organization: DCI HiNet Newsgroups: alt.ascii-art
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 1997 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.