#include <math.h>
#include "web3d.h"

int main(void) {
    int t, n = 128;
    start();
    stroke(0x0000ff);
    scale(72, 72, 72);
    beginShape();
    for (t = 0; t < n; t++) {
        double theta = 2*PI*t/n;
        double x = cos(7*theta);
        double y = cos(3*theta+PI/3);
        double z = cos(5*theta+PI/2);
                        
        vertex(x, y, z);
    }
    endShape(1);
    finish();

    return 0;
}

