Geometric Patterns Test

Описание к видео Geometric Patterns Test

Amazing what a few boxes and a little math can do, huh?

The track used in this video is called "day 9" by she. You can find his music at http://www.shemusic.org/.

Technical info:
Renderer is DirectX 9. This was an early test of a sprite batching class. The boxes shown are 64x64 pixel black textures with a white border; each is scaled and rotated differently from the others.

The drawing procedure is as follows:

for (int i = 0; i [lessthan] BOXCOUNT; i++)
{
// Draw a box centered at x, y, rotating about its origin.
// Rotation is determined by (THETA + (i * (360 / BOXCOUNT)))
// THETA is an accumulating number.
// Scaling is determined by i * 0.5.
}

The less than character cannot be used in the description.

Комментарии

Информация по комментариям в разработке