World
41–50 of 102 posts
Re: World
#42Earlier quoted context omitted.
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.
Found it here http://www.cise.ufl.edu/~manuel/obfuscate/pi.c That's awesome.
Re: World
#43Re: World
#44Earlier quoted context omitted.
nice work. how did you know? For anyone wondering the difference, 0>cos on line 8 is now 0<cos.
Almost any kind of rotation in 2D or 3D graphics involves cos or sin. The spinning was going the wrong way, therefore the way to reverse it was to reverse something involving cos or sin. You can then just bruteforce it by reversing each cos until you get the effect you want. (If reversing cos seems to reverse something "perpendicular" to what you want, then you'd need to reverse the sin instead, not the cos.) This is…
(I still remember how people would describe trig in high school, it is a wonder more teachers didn't explain the cos = x, sin = y thing. Probably because my teachers did not understand math.)
Re: World
#45What I'd love to see is a step by step description of how this was constructed. If I have an end goal in mind, it's simple enough to hammer some characters into something a machine can use to do that end goal while still being readable by a human. But this? It floors me, and I can't even imagine where to start. I can understand the code with a bit of thought, but getting from an empty text editor to that seems beyond me.
Re: World
#46Then I viewed the source. Amazing.
Re: World
#47Brilliant. What I'd love to see is a step by step description of how this was constructed. If I have an end goal in mind, it's simple enough to hammer some characters into something a machine can use to do that end goal while still being readable by a human. But this? It floors me, and I can't even imagine where to start. I can understand the code with a bit of thought, but getting from an empty text editor to that s…
I hear there will be video in a couple weeks.
Re: World
#48It's spinning in the wrong direction!
Re: World
#49It's spinning in the wrong direction!
It's spinning in the right direction. We're just inside the earth :).
Re: World
#50Earlier quoted context omitted.
Hmm, that one says, "Copyright(C).Yusuke Endoh, 2010" The author of this one apparently forgot to give credit.
Doesn't look like the code is that similar. Doesn't look like copyright has anything to do with it. Does Endoh have a patent? That would of course be a different matter.