Amazing what a few boxes and a little math can do, huh? I'm not quite sure why the video render made the wireframe displays somewhat choppy, I'm still trying to perfect HD settings for my editor.
The track used in this video is called "lain's room" 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.
}
This video builds onto the formula demonstrated in my original Geometric Patterns Test video and uses a bit of trigonometry and repositioning to create the effects.
ouch my eyes are bleeding.
iannickCZ 2 months ago