Earlier quoted context omitted.
Hmm, that one says, "Copyright(C).Yusuke Endoh, 2010" The author of this one apparently forgot to give credit.
aside from the implementation being completely different and therefore not in violation of copyright, it would be difficult to give credit for something like this where every character is strategically placed.
World
51–60 of 102 posts
Re: World
#52Re: World
#53Re: World
#54Re: World
#55Re: World
#56More on quines: http://en.wikipedia.org/wiki/Quine_(computing)
Re: World
#57I understand that the whole thing is actual source and its manipulating the center commented area. But I am having trouble following the code.
Re: World
#58Reminds me of the old 1992 winner of the IOCCC by Brian Westley (who consistently entered some of the most impressive programs in that contest). It doesn't spin, but it prints a map of the provided lat/long. http://www.ioccc.org/1992/westley.hint main(l ,a,n,d)char**a;{ for(d=atoi(a[1])/10*80- atoi(a[2])/5-596;n="@NKA\ CLCCGZAAQBEAADAFaISADJABBA^\ SNLGAQABDAXIMBAACTBATAHDBAN\ ZcEMMCCCCAAhEIJFAEAAABAfHJE\ TBdFLDAANEfD…
There is another program arranged in a similar circular shape that calculated pi experimentally using it's own source code as the circle to test.
Re: World
#59That's adorable but I wouldn't have bothered clicking if I had known what it was from the title.
Re: World
#60Can someone explain this really simply for me? I understand that the whole thing is actual source and its manipulating the center commented area. But I am having trouble following the code.
Imagine that you had to write it yourself.
First, you would create some strings approximately representing latitudes on Earth and their associated land masses -- one string for maybe 10-20 degrees of latitude, from some southerly latitude to a northerly one.
Nest, you would figure out a way to print substrings of the strings, at specific points within the strings that you would choose.
Next, you would arrange that the substring printer would wrap around to the beginning of the string in the event that it was asked to print a greater length than the remaining characters available from the specific starting point to the end. By wrapping around, you create the illusion of a circle of characters, like on a globe.
Next, you would think of a way to write into a specially formatted executable text file having a roughly circular central section that is commented out, i.e. not executable.
Next, you would arrange that the specially formatted text file be the running program, and the central comment area represent the display of the earth.
Next, just to blow minds, you would print the current form of the program text file on the console, after each animation cycle filled the comment area.
Finally, you would create the illusion that the earth is rotating clockwise as seen from the north pole (the opposite of reality) just to provoke people who know a bit of astronomy.