Plain and Simple facilitates the exploration of plain JS in a simple
HTML/CSS framework. One page, three languages, zero libraries, no
nonsense.
The goal: Build something interesting- plainly, simply.
For all integer values (i), where 0 < i <= numPoints {
k = i * d;
r = sin(n * k);
x = r * cos(k);
y = r * sin(k);
point[i] = [x, y];
}
connect consecutive points, while traversing the color spectrum