pascalnide icon indicating copy to clipboard operation
pascalnide copied to clipboard

Putpixel color

Open lindschouw opened this issue 4 years ago • 0 comments

The following proggy shoud not result in horisontal stripes but be one long gradient from top to bottom.

program map; uses crt, graph; var graphicsDriver, graphicsMode, x,y,k: Integer;

begin { main } graphicsDriver := Detect; InitGraph(graphicsDriver, graphicsMode, ''); k:=int(getMaxX()/2/pi); for x:=1 to getMaxX() do for y:=1 to getMaxY() do begin putPixel(x,y,y); end; end.

lindschouw avatar Jun 28 '20 13:06 lindschouw