F
Francois Vanderseypen
Imagine a discrete 2D space of any size. Say, you have a 100x100 pixels
(.net) panel and you have discrete cells of 10x10 pixels. Thinking e.g. of
the game of life.
I would like to draw a line in this discrete space, but it can't be smooth,
it has to be aliased or in a block-form corresponding to the pixel
resolution of the underlying space. How to approximate a 'Graphics.DrawLine'
in function of the pixelated space?
Thanks for your help.
(.net) panel and you have discrete cells of 10x10 pixels. Thinking e.g. of
the game of life.
I would like to draw a line in this discrete space, but it can't be smooth,
it has to be aliased or in a block-form corresponding to the pixel
resolution of the underlying space. How to approximate a 'Graphics.DrawLine'
in function of the pixelated space?
Thanks for your help.