Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Free Software for Drawing Cubes

  1. Jan 8, 2016 #1
    I'm drawing various fancy cubes. I'm using Octave, which is fine for generating the data but not so great on drawing cubes. (In case you're curious, I'm drawing projections of hypercubes.) Any help?
     
  2. jcsd
  3. Jan 8, 2016 #2

    jedishrfu

    Staff: Mentor

    Try processing at processing.org. You'd be coding in java with open gl graphics and can do some amazing things. Drawing cubes shouldn't be too difficult to do depending on what you're trying to do. Its not a drawing tool but a programming environment to do interactive graphical programming with many example programs. A lot of computer artists use it for their work.

    Here's an interesting video showing how to construct hypercubes:

     
  4. Jan 14, 2016 #3
    There is Blender, it's a 3D editor for 3D artists and it uses Python 3.x for everything, you can basically script pretty much anything you want from widgets, extensions, 3D objects and movements .

    It's free and multiplatform, also being a 3D editor you can basically render your animation any way you like it ( gif, video, raster ) .

    https://www.blender.org/

    I'm sure you can even find a tutorial / guide about how to create a tesseract / hypercube just so you can start coding with it .
     
  5. Jan 15, 2016 #4
    Blender is way too heavy duty. I'd have to buy a new computer before I could use it at all. I'm not going to spend $1000 or even $500 on this project. And all those features would just get in the way.

    So that leaves processing. That seems to be the opposite: it's for hacking around and not serious. I'd have to get a linear algebra package that runs under Java. The first one I found is not supported at all. Java doesn't even support multidimensional arrays! That seems like a bad sign. I've wasted too much time in my life already dicking around with software like this. Beat your head against the wall then give up is the pattern.

    So I'm out of luck so far. Pick my poison.
     
  6. Jan 16, 2016 #5
    Of course you can work with multi dimensional arrays in Java. But you could also use some other programming language. Use whichever you are most familiar with.
    Anyway, if you want to stick with Java you can use the Apache commons math library http://commons.apache.org/proper/commons-math/index.html
     
  7. Jan 17, 2016 #6
    Thanks, my recognition of the Apache brand name boosts my consumer confidence.
     
  8. Apr 22, 2016 #7
    I have seen POV-Ray being used quite a lot in the past for visualizing complicated mathematical shapes, not sure if it's still the way to go though:
    http://povray.org/

    Edit: Here is some related sample code, I didn't check though if it's correct / fits your needs:
    http://www.ms.uky.edu/~lee/visual05/povray/povray.html
    http://blog.hypercubed.com/archives/2006/03/20/using-pov-ray-to-display-four-dimensional-objects/
    https://www.google.com/search?q=povray+hypercubes

    POV-Ray is a ray tracer though, meaning it might be too slow for what you need :-(

    You probably made your choice already by now, but I wanted to really mention this software.
     
    Last edited: Apr 22, 2016
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Free Software for Drawing Cubes
Loading...