☰
drawLaT web
╳
▼Input
input data from
drawLaT 1.4
XYZ format
Input Data:
//lines starting with // are comment //tab-delimited (fractional) atom data //TYPE(=Color), R(or Element), X,Y,Z //max. number of atoms: 4000 // 2 0.2 0 0 0 2 0.2 0 1 0 2 0.2 1 0 0 2 0.2 1 1 0 1 0.2 0 0 1 1 0.2 1 0 1 1 0.2 0 1 1 1 0.2 1 1 1 4 0.2 0.5 0.5 0.5
▼Lattice
Drawing Style ▷
Disc
Outline
Mesh/WF
Shaded
Dithered
fractal
stochastic
crossrandom
randomlined
pattern
randomtwisted
randomwavy
ribbons
Lighting:
diffuse
ambient
left
right
top
bottom
specular
no spec.
Colors ▷
Background color:
black
white
Background gradient:
▷
may slow down Rotation and Animation
top:
R
G
B
bottom:
R
G
B
Ball colors:
grey (3)
1
2
3
3
standard (6)
1
2
3
4
5
6
maximum (5×5×5=125) ▷
depth fading
Calottes ▷
off
on
Polyhedra ▷
off
opaque
transparent
without central atom
transparent
with central atom
transparent
with central atom + (hkl)
opaque
+ (hkl)
For central atoms use Operation ▷ Change Type (flip sign) to turn polyhedra on/off.
Max. distortion:
Edges:
black
white
colored
Labels ▷
off
on atoms
on screen
top left
bottom left
Letters:
black
white
Background:
none
transparent
Text:
number
atomic symbol
symbol with superscript
(e.g., O
2-
)
Radius ▷
default:
scaling:
Sticks ▷
dotted
thin
thick
relative:
absolute:
fixed:
colored
Box ▷
off
on
X
Y
Z
O:
A:
B:
C:
Coordinate System ▷
axes:
off
background
foreground
left
right
top
bottom
x-y-z
a-b-c
cartesian
lattice coordinates
a
b
c
scaling:
α
β
γ
angles:
Inside View ▷
off
on
Random Fly
Unit Cell:
X
Y
Z
O:
A:
B:
C:
Step Length:
Max. Distance:
keep flying
Rotation ▷
Rotate Viewer right
Rotate Viewer left
Rotate Vertical Vector
Rotate Vertical Vector back
Rotation Angle (degrees):
keep rotating
Turn right
Turn left
Turn upward
Turn downward
Vertical Vector ▷
set:
X
Y
Z
Viewer & Projection ▷
for Projection parallel:
Direction
set:
X
Y
Z
for Projection central and spherical:
Position
set:
X
Y
Z
Projection:
parallel
central
spherical
Stretch & Shift Screen ▷
Stretch:
factor:
Shift:
Mouse Actions ▷
Mouse
Drag:
Do nothing
Rotate
orthogonal
Shift Screen
two mouse buttons for the other action
Mouse
Wheel:
Do nothing
Zoom Viewer Position
Stretch Screen
mouse button+wheel for the other action
▼Information
zero-click Info:
Number of Atoms:
0
Number of Facets:
0
View Position:
[0,0,0]
View Angle:
0
Volume of Unit Cell:
0
Volume of Basis Atoms:
0
Define Unit Cell at Lattice ▷ Inside View!
one-click Info:
Index:
0
Type:
0
Radius:
0
Position:
[0,0,0]
Distance from Origin:
0
two-click Info:
Distance:
0
Vector:
[0,0,0]
Direction:
[0,0,0]
three-click Info:
Angle:
0
Cross Product:
[0,0,0]
four-click info
Torsion:
0
multi-click Info:
Center Position:
[0,0,0]
Periodic Table ▷
Special Characters ▷
▼Operation
Change Type ▷
flip sign by mouse click
(for polyhedra and invisible atoms)
increase by one by mouse click
(for changing color)
to new type by mouse click
After you're done, activate a radio input field below, so that the mouse click is deactivated.
flip sign: all with negative type
(for polyhedra and invisible atoms)
change to new type: all with
old type:
(see one-click Info)
new type:
Select or Delete ▷
delete by mouse click
After you're done, activate a radio input field below, so that the mouse click is deactivated.
select
delete all atoms with:
Typ
Radius
X
Y
Z
between
min. and max.
delete duplicates
after operations which include 'add'
Rotate & Translate ▷
rotate and/or
translate
rotation angle:
rotation axis
X
Y
Z
point:
direction:
translation
X
Y
Z
vector:
replace
add
Result depends on Coordinate System setting (cartesian or lattice coordinates)!
Rotate & Mirror & Translate ▷
rotation angle:
Mirror
at point
at plane
Mirror
X
Y
Z
point:
Normal
X
Y
Z
vector:
point + plane normal => rotation axis
Transl.
X
Y
Z
vector:
replace
add
Result depends on Coordinate System setting (cartesian or lattice coordinates)!
Scaling ▷
all
with type
Scaling factor:
X
Y
Z
Radius
Select Plane ▷
Three Points
X
Y
Z
Point 1:
Point 2:
Point 3:
Point and Normal Vector
X
Y
Z
Point:
Normal:
Max. Distance:
Select Shell ▷
X
Y
Z
Center:
Min.
Max.
Distance:
Select Unit Cell or Basis ▷
select
Unit Cell
Basis
defined at Lattice ▷ Inside View
Transform Coordinates ▷
real value -> fraction
fraction -> real value
cartesian <-> lattce coordinates
The result depends on the current setting at Lattice ▷ Coordinate System (cartesian or lattice coordinates) and on the Unit Cell definition at Lattice ▷ Inside View.
Click OK to transform the coordinates.
After that, update the setting at Lattice ▷ Coordinate System (and Box + Unit Cell).
Calculate ▷
Calculation scratch pad:
//1+1 (1/2+1/4)/2
▼Animation
Cycle
Oscillation
t-min
t-max
t-num
Animation Data:
free usable temp. variables: i, j, k, l, v=[];
define P[i][0] (X), P[i][1] (Y), P[i][2] (Z) as functions of t here:
P[8][2]=0.5-0.2*sin(PI*t/18);
keep animating
▼Save
direct Link
hide Menu
high precision
(link may be longer)
VRML file
POV-Ray file
XYZ file
Input Data TXT file
▼About
drawLaT web
author: Lutz Tautenhahn
1996-1999: C++ Windows 3.1 version
2025: JavaScript/HTML web version
www.lutanho.net/drawlat/