Free Software for Drawing Cubes

  • Thread starter Thread starter Hornbein
  • Start date Start date
  • Tags Tags
    Drawing Software
Click For Summary
SUMMARY

The discussion centers on free software options for drawing cubes, particularly hypercubes. Users recommend Processing, a Java-based programming environment that utilizes OpenGL for interactive graphical programming, as a suitable alternative to Blender, which is deemed too resource-intensive. The Apache Commons Math library is suggested for handling linear algebra in Java, while POV-Ray is mentioned for visualizing complex shapes, though it may be too slow for real-time rendering. Overall, Processing and Apache Commons Math are highlighted as practical tools for users looking to create visualizations without heavy software requirements.

PREREQUISITES
  • Familiarity with Java programming language
  • Understanding of OpenGL graphics
  • Knowledge of linear algebra concepts
  • Basic experience with 3D modeling and rendering techniques
NEXT STEPS
  • Explore Processing for interactive graphical programming
  • Learn how to implement the Apache Commons Math library in Java
  • Research tutorials on creating hypercubes in Processing
  • Investigate the capabilities and limitations of POV-Ray for rendering complex shapes
USEFUL FOR

This discussion is beneficial for programmers, computer artists, and anyone interested in visualizing mathematical concepts, particularly those seeking lightweight software solutions for 3D graphics and hypercube representations.

Hornbein
Gold Member
Messages
3,760
Reaction score
3,034
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?
 
Computer science news on Phys.org
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:

 
  • Like
Likes   Reactions: Hornbein
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 .
 
  • Like
Likes   Reactions: Hornbein
jedishrfu said:
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:



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.
 
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
 
DrZoidberg said:
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

Thanks, my recognition of the Apache brand name boosts my consumer confidence.
 
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:

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
981
  • · Replies 12 ·
Replies
12
Views
4K
Replies
2
Views
6K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 13 ·
Replies
13
Views
747