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."

31 of 292 comments (clear)

  1. 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.

  2. 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.

  3. 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).

  4. 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."
  5. 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

  6. 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.
  7. 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.
  8. 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.

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

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

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

    What's the Excel formula for getting laid?

  12. Re:One can only ask... by dvice_null · · Score: 5, Funny

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

  13. 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.

  14. 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.
  15. Re:One can only ask... by legoman666 · · Score: 5, Funny

    alt-f4

  16. 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)

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

    That's not how you spell 'IQ'.

    --
    SIERRA TANGO FOXTROT UNIFORM
  18. 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.

  19. 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.

  20. 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
  21. 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"?
  22. 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".

  23. Re:A true geek... by ParaShoot · · Score: 5, Funny

    That's not his finger. It's a space station?
  24. 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)

  25. 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.
  26. 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.
  27. Re:A true geek... by ArAgost · · Score: 5, Funny

    And it always shoots first :(((

  28. 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.

  29. I did this years ago by robvangelder · · Score: 5, Interesting