loop(1,23,k) {
	s = makesquare(12, "black");
	s2 = makesquare(12, "lightblue");
	
	// space the squares apart
	a = k * .3;
	
	cx = cos(a);
	sy = sin(a);

	// coordinates
	cx = cx * 80; cx = cx + 245;
	sy = sy * 80; sy = sy + 175;

	// place the first sprite
	s = setx(s,cx);
	s = sety(s,sy);

	cx = cx + 2;
	sy = sy - 2;
	
	// place the second sprite
	s2 = setx(s2,cx);
	s2 = sety(s2,sy);
}