private void initVertices() {
		int items = POINTS_PER_WAVE + ADDITIONAL_POINTS;
		int size = items * COORDS_PER_VERTEX;
		vertices = new float[size];

		// center
		vertices[0] = Utils.normalizeGl(0f, fromX, toX);
		vertices[1] = Utils.normalizeGl(-1f, fromY, toY);

		// left bottom footer
		vertices[3] = Utils.normalizeGl(-1f, fromX, toX);
		vertices[4] = Utils.normalizeGl(-1f, fromY, toY);

		// left top footer
		vertices[6] = vertices[3];
		vertices[7] = Utils.normalizeGl(0f, fromY, toY);

		// right top footer
		vertices[vertices.length - 6] = Utils.normalizeGl(1f, fromX, toX);
		vertices[vertices.length - 5] = vertices[7];

		// right bottom footer
		vertices[vertices.length - 3] = vertices[vertices.length - 6];
		vertices[vertices.length - 2] = vertices[4];
	}
Number of points to skip for getting proper index for Bezier curve points.
library/src/main/java/com/cleveroad/audiovisualization/GLWave.java