Painting is a heart of Newart script. It's an iterative process and can be either finite or may go on eternally. Paint sequence is defined by the hierarchy of nested loops. The sequence starts with paint keyword followed by number of iterations. Each paint sequence must be closed with end keyword. The contents of a loop should conform the syntax below.
| Paint | number of iterations | ||||||||||||||||
| |||||||||||||||||
| End | |||||||||||||||||
Paint eternally
Set background to blue
Set wait to 200
Paint once
Color background
Pause wait
End
SGA 256 flares
Attractor 256
energy 0.0150 0.0151 0.0152
frequency 1 1 1
phase 0 0 0
quality 2 2 2
divergence Harmonic
angle random[0:2pi]
focus 0 0
offset 0 0
period 200 200
sub-period 10000 10000
distortion 20 20
saturation 1
End