Sponsored by Best Buy
Insignia(R) HDTV view!
bestbuygiftadvice.com - Best Buy(R) Twelpforce(TM) Carolers tout the 2-year warranty as great reason to buy the Insignia HDTV.
84 Comments
- vonmeth, on 10/12/2007, -0/+3http://www.tnt.uni-hannover.de/soft/compgraph/sird/sirdsfaq.txt
- boohiss, on 10/12/2007, -1/+4IT'S A SCOONER
- Nerfdude, on 10/12/2007, -0/+2"A schooner is a sailboat stupid head!"
ya know what? THERE IS NO EASTER BUNNY - PotatoHead, on 10/12/2007, -0/+2Here is the link to the author's hint page:
http://www0.us.ioccc.org/2001/herrmann2.hint - Sintwar, on 07/13/2008, -0/+1http://www.eyesareamazing.com/default.aspx?id=26
- melonzman, on 10/12/2007, -0/+1this magic eyes **** has never worked for me. NEVER. Wtf is wrong with my eyes/brain?
- PacoBell, on 10/12/2007, -0/+1Clever. Now back to playing AbSIRD Quake 2! ;-)
- DrAegoon, on 10/12/2007, -0/+1for those who want to compile it, the author mentions that he wasn't able to fit #include statements into the code so they have to be passed to gcc as parameters. On Gentoo Linux using gcc 3.3.5 with the header files in /usr/include the following worked for me:
gcc -include /usr/include/time.h -include /usr/include/stdlib.h -include /usr/include/unistd.h herrmann2.c - mdmoya, on 10/12/2007, -0/+1When the hell do I get to see the sailboat???
- cloudtears, on 10/12/2007, -0/+1The visual effect is stunning. The fact that he developed a short program to generate such 3-D effects out of characters seems impossible. I am sure that this exposes something significant about the functioning of visual consciousness, because, the letters that pop out have a rather sharp boundary across white areas where there is really no contrast. How does the brain do that??? You can't observe those boundarys too closely though or they will kind of dissolve. Also, I notice that some letters may be somewhat ambigous, like an "O" might flash in and out as a "Q",as if my brain was searching for a best fit and was a little bit undecided which presentation was best (in other words I do notice artifacts that may appear and disappear on the boundary of the letters). For those wanting help on seeing it you could do a screen capture, and copy the page into Paint, and put a small red cross in the middle of the text so as not to hit any characters. Then, when you look through the page and let your eyes relax so the red cross will be seen as two separate red crosses (but don't focus on the red crosses too closely, just be aware of them). For me, when the red crosses appear to be about an inch or so appart, then I start to notice that the text image has some kind of structure which I can't describe in words very well, and then the 3-D letters pop out pretty fast.
- mecki78, on 10/12/2007, -0/+0Here's how to compile it. You need to put these includes in front of the code (includes don't have to be within submission to the contest):
#include
#include
#include
After that you copy/paste his code. I stored it to test.c. Then you compile with GCC:
gcc -o test test.c
You will get an executable test (or test.exe on Windows machines).
Now you need an input file. He has two with the code:
http://www0.us.ioccc.org/2001/herrmann2.ioccc
and
http://www0.us.ioccc.org/2001/herrmann2.cup
This is the image you want to become 3D. Now you can call it like this on a Unix machine (including my Mac with MacOS 10.4):
./test < ./herrmann2.cup
or
cat herrmann2.cup | ./test
On Windwos you should be able to do:
type herrmann2.cup | test
The output is a lot of ASCII and if you know how to view the 3D magic images, you'll really see the cup. I can :-) - theseapalm, on 10/12/2007, -0/+0You're supposed to ignore the warnings when you do "make herrmann2" after that you'll be able to use "./herrmann2 < textfile.txt" as for your errors seems you might not be using the makefile at the link http://www0.us.ioccc.org/2001/ good luck noamsml. Reason why you use the makefile is because he was not able to put the includes into the program so he has the makefile attach them into his code for him.
- thoreau2, on 10/12/2007, -0/+0very cool
- multifaceted, on 10/12/2007, -0/+0I'm I the only freak that read "Magic Eye" and thought of Mad Eye, from Harry Potter?
I can't see the OICCC. - theseapalm, on 10/12/2007, -0/+0Here's one I made it's a bit faint since I was trying to make it small so that it might fit in this comment. Just copy it into any lucida console font editor or notepad and should be better.
]y4Xmuh}67PiD^g]y4Xmuh}67PiD^g]y4Xmuh}67PiD^g]y4Xmuh}67PiD^g]y
snPr?XM hEQYICx^>Pr?XM hEICfvx^>Pr?XM hEICfvx^>Pr?XM hEICfvx
Qun5ck)y[!ow2U;Qun5ck)yow2U;Q+45ckV[)y2U;Q+$s45c[)y2U4Q;Q+$s45
sytFS>*Gp!6#d~,sytFS>*!6[W#,s+KyS>O=*[W!h#+KH3yO= - Greenline, on 10/12/2007, -0/+0tight
- QuantaS, on 10/12/2007, -0/+0kool
++ Digg - capn_caveman, on 10/12/2007, -0/+0Cool
- mecki78, on 10/12/2007, -0/+0Ah crapy, it's removing my includes, probably confusing them for HTML.
#include stdio.h
#include stdlib.h
#include unistd.h
The file names must in spikey breakets, like HTML tags. - joel.smith, on 10/12/2007, -0/+0 I O
C C C - BugMeNot2, on 10/12/2007, -0/+0I don't see *****!
- DigitalDud, on 10/12/2007, -0/+0Can't get this code to compile on vc++ or gcc.
- PacoBell, on 10/12/2007, -0/+0It's not the page I'm having trouble focusing on now...it's the rest of the world. There's two of EVERYTHING now! Doh!
- user411, on 10/12/2007, -0/+0This code will not compile under Dev Tools for Mac OS X 10.4 with gcc 4. Warnings turn into errors on line 7.
Any hints? I've tried 'make filename' and 'gcc -o magic magiceye.c'. - sosbythefool, on 10/12/2007, -0/+0I got it to compile and work using Cygwin and gcc 3.3.3 (for cygwin).
Save the source to a directory and use the command
gcc -include /usr/include/time.h -include /usr/include/stdlib.h -include /usr/include/unistd.h herrmann2.c
To run type:
./a.exe < hermmann2.cup > test.txt
Open test.txt in Wordpad and you can see it. Pretty cool. - cppawnz, on 10/12/2007, -0/+0Huh i can't see *****.
- 99er, on 10/12/2007, -0/+0Okay, I clicked on comments just to post "it's a scooner", but boohiss beat me way to it! Kudos to him.
- Unr3a1, on 10/12/2007, -0/+0i think this is where the center of the magic eye is: +V+ *( (c),har)+V+
- noamsml, on 10/12/2007, -0/+0Wow! Nice Image:
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:2: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:3: warning: data definition has no type or storage class
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: parameter names (without types) in function declaration
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: parameter names (without types) in function declaration
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: parameter names (without types) in function declaration
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: data definition has no type or storage class
something.c:4: warning: parameter names (without types) in function declaration
something.c:4: warning: data definition has no type or storage class
something.c: In function 'main':
something.c:5: warning: assignment from incompatible pointer type
something.c:5: warning: assignment from incompatible pointer type
something.c:5: warning: assignment from incompatible pointer type
something.c:7: error: 'time' undeclared (first use in this function)
something.c:7: error: (Each undeclared identifier is reported only once
something.c:7: error: for each function it appears in.)
something.c:15: error: 'rand' undeclared (first use in this function)
something.c:17: error: 'write' undeclared (first use in this function) - godmode, on 10/12/2007, -0/+0that is damn cool
- jpdoane, on 10/12/2007, -0/+0Anyone complie and run this yet? What does it do?
- Stonekeeper, on 10/12/2007, -0/+0omg - that has got to be one of the coolest things I've ever seen. I need to get out more!
- Mimorox, on 10/12/2007, -1/+1Check this out, about 3/4 of the way down there is some other C program, and an example of an ASCII stereogram.
http://www.textfiles.com/art/alt3dste.reo - jpdoane, on 10/12/2007, -0/+0Just compiled and ran it (just get his makefile and other data input files from here http://www0.us.ioccc.org/2001/)
Amazing! It takes any "map" of elevations and transforms it into a magic eye illusion. - theseapalm, on 10/12/2007, -0/+0Yeah I compiled this and created a few of my own. Very cool. http://www0.us.ioccc.org/2001/ go there all you need is the makefile file... and the .c and if you want the .ioccc you then need a gcc compiler (the guy talks about compatibility in the .hint link at the top comment) you do the "make herrmann2" then the "./herrmann2 < textfile.txt" where textfile.txt can be any type of file with simple text such as you can see from the .ioccc at the link. It's somewhat hard to get readable text when it's too small, but if you make your characters decent size when you create the 3D it's a lot easier to focus on. Enjoy :D
- JimXugle, on 10/12/2007, -0/+0thats from gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
- rockforever, on 10/12/2007, -0/+0"Bunch of savages in this town" not mallrats but better
- user411, on 10/12/2007, -0/+0Okay, got her working on Mac OS X. Compile as suggested per DrAegoon with
gcc -include /usr/include/time.h -include /usr/include/stdlib.h -include /usr/include/unistd.h herrmann2.c
(For some reason adding etc in the .c file did not work by itself. Any insight on that?)
Then check out http://www0.us.ioccc.org/2001/herrmann2.hint and grab the recommended ioccc file and then feed the program you compiled (assuming it compiles as a.out)
./a.out
'char*d,A[9876];e;b;*ad,a,c; tw,ndr,T; wri; ;*h; _,ar ;on;'
' ;l ;i(V)man,n {-!har ; =Aadre(0,&e,o||n -- +,o4,=9,l=b=8,'
'!( te-*Aim)|(0~l),srand (l),,!A,d=,b))&&+((A + te-A(&(*)=+ +95>'
'e?(*& c_*r=5,r+e-r +_:2-19T^l,( o-95=+))w?'
'++ &&r:b - Vladek, on 10/12/2007, -0/+0I found it extremely hard to see; but it's well worth the time spent looking!
It's incredible!!!!! - charmedguy18, on 10/12/2007, -0/+0I dont get it...
- drawkbox, on 10/12/2007, -0/+0I can see the matrix Neo.
- wayjer, on 10/12/2007, -0/+0My second digg today of one that was at 999 and I was #1000. That has got to be a record!
- JimXugle, on 10/12/2007, -0/+0GCC output:
linux:/home/jim/Desktop # gcc -o herrmann2.c herrmann2.c
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:2: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:3: warning: data definition has no type or storage class
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: parameter names (without types) in function declaration
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: parameter names (without types) in function declaration
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: parameter names (without types) in function declaration
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c:4: warning: parameter names (without types) in function declaration
herrmann2.c:4: warning: data definition has no type or storage class
herrmann2.c: In function ‘main’:
herrmann2.c:5: warning: assignment from incompatible pointer type
herrmann2.c:5: warning: assignment from incompatible pointer type
herrmann2.c:5: warning: assignment from incompatible pointer type
herrmann2.c:7: error: ‘time’ undeclared (first use in this function)
herrmann2.c:7: error: (Each undeclared identifier is reported only once
herrmann2.c:7: error: for each function it appears in.)
herrmann2.c:15: error: ‘rand’ undeclared (first use in this function)
herrmann2.c:17: error: ‘write’ undeclared (first use in this function)
linux:/home/jim/Desktop # - EternalNY1, on 10/12/2007, -0/+0Not only is this the most impressive story I've ever seen on Digg... but as a C++ programmer, this is one of the most amazing things I've EVER seen, period.
The letters "IOCCC" literally pop out of the screen (had to maximize my browser font so it took up the full screen, and then STARE for a long time.. but it's definetly there).
There's not much else to say. This guy is a genious. - MilitantRabbit, on 10/12/2007, -0/+0Those Magic Eye things give me the creeps.
Cool though
Digg+ - inactive, on 10/12/2007, -0/+0I know what it's supposed to be/say and I still don't see it.
- jk_baller23, on 10/12/2007, -0/+0pretty cool. I O C C C
- F1R3, on 10/12/2007, -0/+0Blow it up to a 14 or an 18 in notepad.. it seems if i look at the
(*& _*c)
which is just a little up from the center.. that seems to be the best spot for me at least... its going to become the bottom right side part of the "I". - hppyfngy, on 10/12/2007, -0/+0that's just freaky deeky geeky
-
Show 51 - 84 of 84 discussions



What is Digg?