const gdiLibrary = require("./app.js");
const gdi = new gdiLibrary();


let t = 0;
let additive = 1;
let limit = 100;

gdi.colorChange(100,100,100); //Sets color to green-ish

while(1){
	if(t > limit){
        additive = -additive;
	} else if(t < 0){
		additive = -additive;
	}
	
	t += additive;
	gdi.moveTo(0, 0);  //Move to 0, 0
	gdi.lineTo(100, t);
}