Don't be tired of mouse-clicking on a big graphics tool, to draw a 3D
structure. Canvas Commander suggests a scripting way of modeling, where
easy commands in a text file create, move, rotate, scale and paint 3D objects.
|
canvas 400 300 pers 400 300 500 10000
clear 0.0 0.0 0.2
light -1 1 1
move 0 0 -800
rotate 45 -1 1 0
scale 80 80 80
** H2 molecule
shine 50 1 1 1
move 0 0 -2.5
* H atom: r=1
diffuse 1.0 0.0 1.0
sphere 30 30 round
*
move 0 0 1
push
* Bond: l=3
scale 0.5 0.5 3
diffuse 0.0 0.0 1.0
cylinder 1 10 360 15 round
*
pop
move 0 0 4
* H atom: r=1
diffuse 1.0 0.0 1.0
sphere 30 30 round
*
**
finish
|
Furthermore, modifying the first line and re-running the script shows an anaglyph image,
as shown in the Anaglyph page in this site.