Kinds of Numbers

Newart is an art of numbers. They're used throughout in scripting: as color codes, as integers, as fractional numbers defining functions and so on. There're several formats of a number.

Integer or fractional constant
It can be either positive or negative. Examples: 256; 0.001; -1e10 (exponential form of a huge or a very small number).
Angle value in degrees or radians
Example: 3.1416 radians if roughly the same as 180` (note that back quote is used in syntax of a degree constant).
Hexadecimal integer prefixed by "0x"
Example: 0xFF equals 255.
Variable name used in place of a number
Example: there's predefined variable "once" that equals 1.
Infinity constant
"Eternity" and "eternally" are both synonyms of the infinity. Normally it's used to create eternal loops.
Random number
A random has syntax random[A:B]. It's expanded to a pseudo-random number between "A" and "B". No spaces allowed.
Predefined constants
never
0
once
1
pi
3.14159265
2pi
6.28318531
pi/2
1.57079633
pi/3
1.04719755
pi/4
0.78539816
flares
0x01
boxes
0x02
tessellated
0x03
white
0xFFFFFF
light-gray
0xC0C0C0
gray
0x808080
dark-gray
0x404040
black
0x000000
red
0xFF0000
pink
0xFFAFAF
orange
0xFFC800
yellow
0xFFFF00
green
0x00FF00
magenta
0xFF00FF
cyan
0x00FFFF
blue
0x0000FF
...read about text in script