News for hackers. Stuff that matters.
Re:The Batman Equation by alecco on Saturday July 30, 2011 @09:58AM (#2825765)
The original submission at reddit had several interesting threads including strings ready to paste in Mathematica and attempts to run it in WolframAlpha.

"Do you like Batman? Do you like math? My math teacher is REALLY cool" http://www.reddit.com/r/pics/comments/j2qjc/do_you_like_batm...

It's shameful of HardOCP and others not to credit the original submitter.

Re:The Batman Equation by dlaw on Saturday July 30, 2011 @09:19AM (#2825694)
I must admit that this strikes me as rather dull: make the equation complicated enough and you can obtain any shape you'd like. I would far be more impressed by a simple one-line equation that drew this shape.
Re:The Batman Equation by pbhjpbhj on Saturday July 30, 2011 @09:59AM (#2825767)
How long are your lines, how small is your font/letter-spacing .. du-duh! One line!
Re:The Batman Equation by skrebbel on Saturday July 30, 2011 @10:34AM (#2825841)
that first answer is basically pretty basic procedural graphics. There's a whole scene of people using smartly combined simple functions to create pretty and/or realistic shapes.

Check out 'cdak', a 4kb executable realtime animation for a rather impressive example: http://capped.tv/quite_orange-cdak (video) or ftp://ftp.untergrund.net/users/ized/prods/cdak.zip (4kb windows executable)

Re:The Batman Equation by iloveyouocean on Saturday July 30, 2011 @05:16PM (#2826800)
I saw this posted on Reddit a few days ago. I briefly considered submitting it here, but thought 'This kind of thing belongs on Reddit, not HN.' But what do you know, here it is with 182 points. Oh well.
Re:The Batman Equation by iwwr on Saturday July 30, 2011 @08:42AM (#2825643)
Is there a way to massage this so that Wolfram Alpha can graph it in whole?
Re:The Batman Equation by fedorabbit on Saturday July 30, 2011 @08:20AM (#2825601)
once upon a time, I thought this is how computer generate graphic shapes...
Re:The Batman Equation by realou on Saturday July 30, 2011 @12:12PM (#2826039)
The "batman" image and icons are under IP protection... I wonder if this equation automatically falls under that umbrella. And what about the particular result of that equation , when graphically rendered. Could I sell T-shirts with that equation's rendering on them?
Re:The Batman Equation by smanek on Saturday July 30, 2011 @12:32PM (#2826080)
Assuming copyright/trademark in place on the image, probably not (although, IANAL - so take the following with an appropriate dose of salt).

The short reason why is that bits have color ( http://ansuz.sooke.bc.ca/entry/23).

See http://en.wikipedia.org/wiki/Illegal_prime for a concrete example.

Re:The Batman Equation by tedunangst on Saturday July 30, 2011 @12:20PM (#2826057)
Every image can be rendered by an equation. How do you think JPEG works? Why would this be any different?
Re:The Batman Equation by jcsalterego on Saturday July 30, 2011 @09:51AM (#2825751)
Re:The Batman Equation by alanfalcon on Saturday July 30, 2011 @01:58PM (#2826251)
Huh, I was expecting something like this: http://www.qwantz.com/index.php?comic=1870

Thankfully, this link wasn't quite as depressing as T-Rex's Expected Real Life Batman Generation Rate.

Re:The Batman Equation by wisty on Saturday July 30, 2011 @08:30AM (#2825620)
Note, there's even less cerebral things you can draw with polar co-ordinates.
Re:The Batman Equation by conradev on Saturday July 30, 2011 @11:41AM (#2825970)
Re:The Batman Equation by onions on Saturday July 30, 2011 @12:23PM (#2826065)
That trick always seemed incomplete to me because the output only contains part of the formula; it's missing the constant that actually encodes most of the information. Has anyone ever made one where the output contains everything you need?
Re:The Batman Equation by svat on Saturday July 30, 2011 @11:55PM (#2827572)
Yes! To both.

Calling Tupper's formula "self-referential" (which he did not) is essentially cheating: https://shreevatsa.wordpress.com/2011/04/12/how-does-tuppers...

But someone has made one where the output contains everything: http://jtra.cz/stuff/essays/math-self-reference/

A little discussion on Reddit: http://www.reddit.com/r/math/comments/i75t1/tuppers_formula_...

Re:The Batman Equation by burgerbrain on Saturday July 30, 2011 @03:09PM (#2826419)
If you consider outputs for equations other than Cartesian graphs, then Quines should get you what you want.

https://secure.wikimedia.org/wikipedia/en/wiki/Quines

Re:The Batman Equation by onions on Saturday July 30, 2011 @04:57PM (#2826737)
Yes, I think a "Cartesian" quine would be pretty tough to create, because you're going from a symbolic representation to an inefficient visual representation. Could a more efficient visual representation solve it? One approach might be to output a bitmap that looks like this:

gunzip(########)

where ######## is a bitmap representation of the raw input to gunzip.

Re:The Batman Equation by BlackJack on Saturday July 30, 2011 @09:28AM (#2825710)
I wonder what the equation would look like if a 3rd dimension was added.
Re:The Batman Equation by brianbreslin on Sunday July 31, 2011 @10:08AM (#2828338)
How long before this is converted into css3 ?