Programming "from center"

To programm "starting from center", the code, which draws graphics to the screen, must draw everything from "-1" region. By making loop which starts from the number -1, the computer does make rotation backwards and starts to work from center. This type of cycle must be applied only to functions that drawing something to the graphic card. In C#, for example, it is the "public void Draw()" method. By programming "from center", the image will be smooth, it would not bother, so to say. There will be "no noise"

Programming "from center" example

Programming not "from center" example



Example of the game, which uses programming "from center":