public void render() {
		for (int y = 0; y < height; y++) {
			ya = y;
			for (int x = 0; x < width; x++) {
				if (topped) ya -= 0.3;
				if (!topped) ya += 0.3;
				if (ya > height / 2) topped = true;
				if (ya < 0) topped = false;

				pixels[x + (int) ya * width] = 0xffFF0000;
			}
		}
	}