code-talk: sphere intersecting a plane
My NEW obfuscated c code signature. This is not ascii-art
per say, but it does generate an ascii-art movie.
It's output is a sphere intersecting a plane. The image is
a little rough in places, and I am considering a different
shading, but overall I am quite happy. This program assumes
a vt100. It could be adapted to other terminals fairly
easily, if you know what to modify.
This was inspired by a guy with a piece of signature code to
generate a full screen ascii mandelbrot.
Elijah
------ /* cc -Dp=putchar signature.c -lm */
main(){int i,j,k,l;char m[]=" .,:;i!1I]fJYVOQZXHKNSWM";for(i=-12;i<13;i++){for
(k=0,l=7379124;k<6;k++)p((l&0xf)+(k?97:65)),l>>=4;for(j=-12;j<12;j++){for(k=(j
+12?-12:-6);k<12;k++)((l=i*i+j*j+k*k)<144)?p(m[l=sqrt(l+2)*2]):p((l<25)?39:32)
;(j!=11)?p('\n'):0;}p(27),p(91),p(72);}puts("Elijah:bgr...@ic.sunysb.edu");}
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fbb9d,ce31cf396284cd16,start X-Google-Attributes: gidfbb9d,public From: bgr...@ic.sunysb.edu (Eli the bearded) Subject: code-talk: sphere intersecting a plane Date: 1996/02/07 Message-ID: <4f9v79$dh...@miso.wwa.com>#1/1 X-Deja-AN: 138356881 sender: bob...@sashimi.wwa.com organization: the-rapist is a poor choice of a name for the profession newsgroups: rec.arts.ascii
About this message.
This message was posted publicly to the newsgroup
rec.arts.ascii
in 1996 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.