8 lines
226 B
Nim
8 lines
226 B
Nim
import complex, colors
|
|
|
|
|
|
proc getComplexValueForPixel(x:int, y:int, height:int, width:int, zoom:float): Complex =
|
|
(re: (x-width/2.0)/zoom, im: (y-height/2.0)/zoom)
|
|
|
|
proc colorMap(i:int, nMax:int): Color =
|
|
rgb(0, 0, 0)
|