Slashdot Mirror


Using Excel As a 3D Graphics Engine

simoniker writes "Obviously whimsical but slightly mind-blowing — an Eastern European coder has published video and the Excel tables to get full 3D wireframe running in Microsoft Excel. He even has solid polygonal graphics running. This isn't an Easter Egg by the Excel creators. Rather, he's using formulas to output the graphics, using two different methods, and showing all the variables on-screen in real time as the 3D is created."

60 of 292 comments (clear)

  1. Re:One can only ask... by Anonymous Coward · · Score: 3, Funny

    Somebody has to.

    -RetroMud Grandpa

  2. Re:One can only ask... by da_matta · · Score: 4, Insightful

    ..because it's there?

  3. Re:One can only ask... by 49152 · · Score: 5, Funny

    You sir are not a true geek ;-)

    He did it because he could, all other reasons would be redundant.

  4. This explains it by Anonymous Coward · · Score: 5, Funny

    The DNF team has been waiting for the excel rounding errors to be fixed before release.

  5. Re:One can only ask... by mattgoldey · · Score: 5, Insightful

    You people that ask why on posts like this need to turn in your geek card. Geeks do this kind of stuff because we can. We like a challenge. We like to explore technology to its fullest to find out just how much it can do -- despite the fact that there aren't any practical applications for whatever we come up with. It's all about exploration and learning (and a little bit about showing off what we can do).

  6. Obligatory Joke.. by Matt+Amato · · Score: 5, Funny

    Apparently he's using Excel as his web server too...

    1. Re:Obligatory Joke.. by Nom+du+Keyboard · · Score: 5, Funny

      When your only tool is a hammer, you must make the whole rest of the world look like a nail.

      --
      "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    2. Re:Obligatory Joke.. by Jogar+the+Barbarian · · Score: 4, Funny

      I guess you could set up a Chinese water torture station.

      --
      3. Profit!
      2. ???
      1. On Soviet Slashdot, a Beowulf cluster of alien Natalie Portman overlords welcomes YOU!
  7. Explains the flight simulator in Excel 97? by TheCycoONE · · Score: 5, Interesting

    So that's it, Excel is actually a 3d programming environment. The Excel 97 flight simulator then was a demo. http://www.eeggs.com/items/718.html

    1. Re:Explains the flight simulator in Excel 97? by DarrylM · · Score: 3, Informative

      It can be used to land planes, too!

      (Obligatory Dilbert)

  8. A cool trick, straight from the textbook by jandrese · · Score: 5, Insightful

    Back when I took graphics in college, it was made abundantly clear that all modern graphics are just large math problems solved in realtime. We did all sorts of work messing with transformation matrices and doing the math (sadly, since this was done by the CS department we did a lot less of the useful stuff and a lot more of the theoretical underpinnings that you don't technically need to know when actually programming something).

    Anyway, the point is that Excel is reasonably well set up for doing the kind of math you need to do when making computer graphics and has vector output capabilities. It's a neat trick and something that would likely be useful in teaching the underpinnings (watching what happens as you tweak variables in a transformation matrix in realtime would have been very nice when I was taking my class).

    --

    I read the internet for the articles.
  9. circa 1990 MS Works was a Turing Machine by davidwr · · Score: 5, Funny

    I've long forgotten how I did it, but I used the database application in MS-Works for Windows 3.0 as Turing Machine.

    Why? If you have to ask, get off Slashdot.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  10. Re:One can only ask... by Scrameustache · · Score: 4, Insightful

    ...why? Same reason others climb mountains.
    --

    You can't take the sky from me...

  11. Not to worry ... by gstoddart · · Score: 5, Funny

    I'm sure someone has either already done this in emacs, or soon will.

    Those guys have a mode for everything. :-P

    Cheers

    --
    Lost at C:>. Found at C.
    1. Re:Not to worry ... by kalirion · · Score: 5, Funny

      Oh yeah! Good ol' C-x M-c M-vectorengine...

      Of course I still prefer butterflies.

  12. skip right to the video by Anonymous Coward · · Score: 5, Informative
  13. Not impressed by Rufus211 · · Score: 5, Funny

    I won't be impressed until Excel can pull of something as simple as a flight simulator.

  14. Oblig. by BlackPignouf · · Score: 4, Funny

    Nice, but could it display a 2D rectangle whose dimensions are 850 & 77.1?

  15. Re:One can only ask... by garett_spencley · · Score: 4, Funny

    pfft... speak for yourself. I do it to get laid.

  16. 65,535 by TBerben · · Score: 4, Funny

    Hopefully, no formula outputs that value. Who knows what 3d image you'd get?!

  17. Re:One can only ask... by longacre · · Score: 5, Funny

    What's the Excel formula for getting laid?

  18. The source of progress by dazedNconfuzed · · Score: 4, Insightful

    Strange how much human accomplishment and progress comes from contemplation of the irrelevant. - Scott Kim.

    --
    Can we get a "-1 Wrong" moderation option?
  19. Re:One can only ask... by dvice_null · · Score: 5, Funny

    Not sure, but it probably has something to do with miscalculation.

  20. big whoop by FranTaylor · · Score: 5, Funny

    This was possible on a 7 MHz 68000 back in the day of the original mac. At 3 GHz he should be able to raytrace in Excel.

    1. Re:big whoop by jschen · · Score: 4, Funny

      I've heard of overclocking. But why would you want to underclock your 8 MHz Mac? I guess in this discussion, the correct answer would be "because you can".

  21. Re:One can only ask... by alta · · Score: 5, Funny

    Hey, I'm a republican and a creationist. No one is going to convience me that this story was not worth of being posted or that I should turn in my card. Heck with an ID as low as mine, I doubt too many people would ask me to :)

    --
    Do not meddle in the affairs of sysadmins, for they are subtle, and quick to anger.
  22. I hope you are not serious by F�an�ro · · Score: 4, Insightful

    I might be missing the joke and taking this way to seriously, but I really cannot stand that attitude. I guess it's easy to push my buttons.

    In wich deranged moral system is there some sort of duty that forces smart guys to spend all their available time on things useful for society?

    (And who decides what is beneficial for society anyway?)

    If his hoby was playing chess or collecting stamps or climbing mountains, would you say that he should spend his time on more useful things? If he could afford to spend a lot of time on those hobbies, why shouldn't he?

    So why is it that every time someone does something cool and strange and for all purposes harmless, someone else always has to say "THIS GUY HAS WAY TOO MUCH FREE TIME"? Someone who, I might add, spends his time on slashdot?

    Envy?
    (I know I am envious, I wish I had the time and the determination to do a lot of these things. Considering that I am wasting time on slasdot, determination is what I am lacking more of)

    1. Re:I hope you are not serious by abigor · · Score: 4, Insightful

      It's his life, and his definition of fun. This was done 100% for himself, and I'll bet he had a blast. I think it's awesome.

      As far as "useless" goes, the best times I've ever had in my life have been essentially "useless" under your definition - sex, travel, rockclimbing, programming for fun, and so forth - though never all of these at once, it must be said.

      Work less, enjoy more.

    2. Re:I hope you are not serious by F�an�ro · · Score: 4, Insightful

      On a serious note, let me ask, to what end is this pursuit? Of what practical use is it?
      For one thing, what he does is by any metric infinitely more useful than us complaining and arguing about it on slashdot.

      I'm in my 40s now, and time is so precious and I just see something like this as a sad waste. Here's a guy who is obviously intelligent but he devoted an amount of his finite time on planet earth doing something basically useless to himself and others. Were his energies properly "self-directed" think what he could have done for himself!! Think about the lost potential in the form of dedication, intelligence, and time!!!
      Ok, now you are obviously trolling.

      A "sad waste" would be if you lived your life without ever doing anything just because you liked doing it.
      And dedication or intelligence is not some limited resource that gets less each time you use it on something you enjoy, quite the opposite.
      Same for time, unless you somehow manage to live your live without any free time (which brings us back to the "sad waste")
  23. Re:A true geek... by Anonymous Coward · · Score: 3, Interesting

    Relatively easy. Just create a vba and load some com components...

    Its kinda fun to create a button in word which executes a vba app that creates an excel chart based on data in an access database and embeds it in a cad drawing then prints that to pdf and sends an email through outlook. Makes peoples heads explode even though it is very basic programming.

  24. Re:One can only ask... by legoman666 · · Score: 5, Funny

    alt-f4

  25. Re:One can only ask... by MobileTatsu-NJG · · Score: 5, Funny

    "What's the Excel formula for getting laid?"

    I can give you the CSV version:

    Income, Car, Looks, Star Wars Fan, Flosses, Dress Quality, Glasses, Muscles, Fat
    $250k, Porsche, Good, 0, 1, >0.8, 0, 1, 0

    --

    "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

  26. Re:One can only ask... by uhlume · · Score: 5, Funny

    That's not how you spell 'IQ'.

    --
    SIERRA TANGO FOXTROT UNIFORM
  27. Re:One can only ask... by Anonymous Coward · · Score: 5, Interesting

    The central thesis appears towards the end of the article. The idea is that something like Excel represents a different coding paradigm that hasn't been seriously considered, where you basically lay out what your stuff is supposed to do, i.e. declare it instead of coding it sequentially. By doing this, you increase comprehension of what's going on, b/c it's easier to visualize the algorithm (at least for 3d manipulations) by viewing the tables, instead of trying to decipher a sequential piece of code. It's basically advocating using a declarative programming paradigm (like Prolog) for games, except using a comical venue to show it.

    Tim Sweeney's POPL talk had some similar ideas too.

  28. Re:One can only ask... by sm62704 · · Score: 4, Funny

    You people that ask why on posts like this need to turn in your geek card. Geeks do this kind of stuff because we can.

    No, more like "because we HAVE TO. We can't help ourselves.

    --
    mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
  29. Re:One can only ask... by Anonymous Coward · · Score: 5, Funny

    I don't think that's it.....I make six figures (that's six figures to the left of the decimal, thank you very much) and still rarely get laid......but then, I'm married, so I guess that's probably why.

  30. Re:Quick Summary of Article - Breathless Hype by rilister · · Score: 5, Insightful

    nah, man - I think you missed something. I'm no programmer, but he makes the point that what he's doing here is a different type of programming. It allows him to lay out his program structure in two dimensions. Most (all?) code is laid out as a vertical thread of logical progressive statements, so this does seem different: Excel allows you to visually lay out the relationships between variable in a spatial way.

    It not like he's claiming to have discovered this: this is the fundamental reason why spreadsheets have been used for well over a decade - they give you a logical map. You could lay out a spreadsheet as a single list of mathematical operations, but it would obviously suck in comparison to a a spreadsheet. He's just pointing out this is interesting to think of in terms of a programming paradigm.

    (YAY! I used 'paradigm' and didn't sprout horns or anything!)

    Cheers!

    --
    'This writing business. Pencils and what-not. Over-rated if you ask me. Silly stuff. Nothing in it' - Eeyore
  31. Re:A true geek... by thePowerOfGrayskull · · Score: 5, Funny

    Its kinda fun to... in Word ... executes a vba ... creates .. excel chart ... access database ... outlook. Eh? "Kind of fun"? Do you also find sticking your fingers into an electric pencil sharpener "fun"?
  32. A month early... by mbessey · · Score: 3, Funny

    This has to have been accidentally published in the wrong month. It's clearly intended for April. What kind of Fools are running that magazine?

  33. Re:One can only ask... by Rufus211 · · Score: 5, Insightful

    FAIL.

    you can't have extra spaces in a CSV, unless you drive a " Porsche".

  34. Re:One can only ask... by gEvil+(beta) · · Score: 4, Funny

    Alright Mister Smartguy, how exactly do you spell IQ?

    --
    This guy's the limit!
  35. Re:A true geek... by MightyYar · · Score: 4, Funny

    Do you also find sticking your fingers into an electric pencil sharpener "fun"? That's not his finger.
    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  36. Re:A true geek... by ParaShoot · · Score: 5, Funny

    That's not his finger. It's a space station?
  37. Re:One can only ask... by MobileTatsu-NJG · · Score: 5, Funny

    "FAIL. you can't have extra spaces in a CSV, unless you drive a " Porsche"."

    Sorry. I'll append my CSV:

    Pedantic, Feelings of Superiority by Mastering of Mundane Technical Details, Nitpick a Comment About Why Geeks Don't Score
    0, 0, 0

    --

    "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

  38. Re:A true geek... by Chyeld · · Score: 3, Funny

    Well, it's a little short to be a Stormtrooper.

  39. Re:One can only ask... by arb+phd+slp · · Score: 3, Informative

    Aperture Science: We do what we can because we must.

    --
    There's a perfect xkcd for my sig but I'm too lazy to look it up. sudo someone go find it.
  40. Re:One can only ask... by Midnight+Thunder · · Score: 4, Funny

    You sir are not a true geek ;-)

    I doubt he would apprecaite ASCII Quake either.

    --
    Jumpstart the tartan drive.
  41. Re:One can only ask... by zizzo · · Score: 3, Insightful

    Heck with an ID as low as mine...

    Old != Smart

  42. Eastern European? by jabber · · Score: 5, Insightful

    "Eastern Europe" is not some nebulous region with fuzzy borders on a map, with "Here there be coders" written in illuminated calligraphy in the very middle of a vast, blank area.

    This guy's email address is in Hungary which means he's probably Hungarian. That's a country directly between Austria and Bulgaria, south of Poland and north of Greece (indirectly) which, depending on where you draw the Eastern boundary of Europe, may or may not be in "Eastern" Europe. It lies almost precisely between the western border of France and the Eastern border of Ukraine, the northern border of Poland and the southern border of Greece (excluding Cyprus), making this guy more of a Central European.

    French coders are French, German coders are German. What makes a Hungarian coder "Eastern European"?

    --

    -- What you do today will cost you a day of your life.
    1. Re:Eastern European? by autophile · · Score: 4, Funny

      What makes a Hungarian coder "Eastern European"?

      Not so much that he's from Hungary, but for what he did. You see, we Westerners think of the old Soviet-era Eastern Europe as a windswept expanse of cold, grey concrete buildings. All the people are huddled inside, shivering over a fire made out of rolled-up Pravda, because the Central Committee didn't come through with the oil for the 15th year running. Smartly-dressed politzei wearing fur hats patrol the streets with vicious attack dogs.

      So it's pretty natural that if you see a 3D render in Excel, you have to think: "My God, what God-forsaken country do you have to be in to have to do 3D renders in Excel?!" And then you picture that guy hiding in a monk's hole, giggling to himself, swilling tea made from thrice-used teabags heated by Pravda fire, with a dash of bootleg Stolichnaya for kicks, and it couldn't happen anywhere except Eastern Europe, that fictional colorless country where it snows all the time.

      --Rob

      --
      Towards the Singularity.
  43. Re:A true geek... by Translation+Error · · Score: 5, Funny

    That's ok; that's not a pencil sharpener, either.

    --
    When someone says, "Any fool can see ..." they're usually exactly right.
  44. Re:A true geek... by ArAgost · · Score: 5, Funny

    And it always shoots first :(((

  45. Re:One can only ask... by caferace · · Score: 5, Funny
    Heck with an ID as low as mine, I doubt too many people would ask me to :)


    Please turn in your card.

  46. I did this years ago by robvangelder · · Score: 5, Interesting
  47. Re:One can only ask... by MobileMrX · · Score: 4, Funny

    I'd have just amended my doctype to "CSSV", the popular "Comma Space Separated Values" format. ;)

  48. Re:One can only ask... by StormReaver · · Score: 3, Funny

    "Not sure, but it probably has something to do with miscalculation."

    I dated her once, and I've never been quite right ever since.

  49. Re:compressed: by glittalogik · · Score: 3, Interesting

    I'm shouting into the storm here, I know, but this is NOT true. Both of my female housemates and several of my female friends ONLY date/shag geeks. This whole "geeks can't get laid" is entirely "geeks (don't want/are too scared to try) to get laid."

    As to WHY these girls like geeks, it's generally a combination of the following:
    a) They have a mother complex that makes them want to care for and nurture the most socially inept/awkward partner they can find.
    b) They're geeks themselves, and stick to their own kind.
    c) They have a fetish for crying boys sobbing "thank you, thank you, thank you!" over and over.

  50. No cake for you! by Torvaun · · Score: 3, Informative

    Aperture Science: We do what we must, because we can.
    For the good of all of us, except the ones who are dead.

    --
    I see your informative link, and raise you a pithy comment.
  51. Re:One can only ask... by xSauronx · · Score: 4, Funny

    he didnt mention he posts anon because the wife has a lower UID

    --
    By and large, language is a tool for concealing the truth. -- George Carlin
  52. Re:One can only ask... by sg_oneill · · Score: 4, Informative

    Some of you guys are kind of missing the point here. What he hasn't done is writing a cheezy little vba app that does wireframe graphics, he's used the non-imperative logic in the actual spreadsheet to demonstrate that whats normally a linear 'pipeline' can be done perfectly well non-imperatively.

    Functional coding guys would 'get' the wow factor of it all, I guess.

    --
    Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.