Greyscale bars/Display: Difference between revisions
m
→{{header|Julia}}
Line 832:
verts = Vector{RGB}()
hwidth = Int(ceil(screenwidth/n))
for
rgbgray = RGB(x/255, x/255, x/255)
for
push!(verts, rgbgray)
end
|