Jump to content

Greyscale bars/Display: Difference between revisions

m
Line 832:
verts = Vector{RGB}()
hwidth = Int(ceil(screenwidth/n))
for (i, x) in enumerate(00:Int(floor(0xff/(n-1))):0xff)
rgbgray = RGB(x/255, x/255, x/255)
for ji in 1:hwidth
push!(verts, rgbgray)
end
4,108

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.