You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x ] are you running newest version (version from docs) ?
WGLMakie 0.9.9 and Makie 0.20.9
And on PyramidScheme master
can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
What platform + GPU are you on?
When I try to plot a Pyramid from PyramidScheme.jl the plot in WGLMakie flickers when I zoom in or pan around the data see the screencast attached. The following code highlights the problem but it is also visible with pure random data.
Plotting the data directly without PyramidScheme fails with a WebGL error; Out of memory
Also Ctrl + left click only slightly shifts the limits and does not return to the original limits.
using WGLMakie, DimensionalData
using PyramidScheme: PyramidScheme as PS
julia>mandelbrot_set!(img, -2.0,0.5,-1.25,1.25, npoints)^C
julia>functionmandelbrot(c, b, itmap)
z = c
for n in1:b
if z.re * z.re + z.im * z.im >4returnitmap(n, z, b)
end
z = z^2+ c
endreturn0.0end
mandelbrot (generic function with 1 method)
julia>functionmandelbrot_set!(img, xi, xf, yi, yf, npoints; b=1024)
for (i,x) inenumerate(range(xi, xf, length=npoints))
for (j,y) inenumerate(range(yi, yf, length=npoints))
color =mandelbrot(x +1im*y, b, normIterations)
img[i,j] = color
endendend
mandelbrot_set! (generic function with 1 method)
julia> img =zeros(npoints, npoints)
3000×3000 Matrix{Float64}:0.00.00.00.00.00.00.00.00.0…0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0⋮⋮⋱⋮0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0
julia> npoints =30003000
julia> img =zeros(npoints, npoints)
3000×3000 Matrix{Float64}:0.00.00.00.00.00.00.00.00.0…0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0⋮⋮⋱⋮0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0
julia>functionnormIterations(n, zn, b)
return n - (log(log(abs(zn))) -log(log(b)))/log(2.0)
end
normIterations (generic function with 1 method)
julia>mandelbrot_set!(img, -2.0,0.5,-1.25,1.25, npoints)
julia> dd =DimArray(img, (X,Y))
3000×3000 DimArray{Float64,2} with dimensions: X, Y
4.014074.014394.01474.015024.01533…4.015334.015024.01474.014394.014074.014584.014894.015214.015524.015844.015844.015524.015214.014894.014584.015084.01544.015714.016034.016344.016344.016034.015714.01544.01508⋮⋱⋮4.843164.844434.84574.846974.848244.848244.846974.84574.844434.843164.842334.843594.844864.846134.8474…4.84744.846134.844864.843594.84233
julia> ps = PS.Pyramid(dd)
3000×3000 Pyramid{Float64,2} with dimensions: X, Y
4.014074.014394.01474.015024.01533…4.015334.015024.01474.014394.014074.014584.014894.015214.015524.015844.015844.015524.015214.014894.014584.015084.01544.015714.016034.016344.016344.016034.015714.01544.01508⋮⋱⋮4.843164.844434.84574.846974.848244.848244.846974.84574.844434.843164.842334.843594.844864.846134.8474…4.84744.846134.844864.843594.84233
julia> figps =Figure(title="Waldveränderung in Europa", size = (2000,1000));
julia> axps =Axis(figps[1,1], title="Pyramid", yticklabelrotation=pi*0.5, aspect=1)
Axis with 0 plots:
julia>plot!(axps, ps)
Heatmap{Tuple{Vector{Float64}, Vector{Float64}, Matrix{Float32}}}
julia> figps
Screencast.from.08.04.2024.14.14.25.webm
The text was updated successfully, but these errors were encountered:
WGLMakie 0.9.9 and Makie 0.20.9
And on PyramidScheme master
]activate --temp; add Makie
)When I try to plot a Pyramid from PyramidScheme.jl the plot in WGLMakie flickers when I zoom in or pan around the data see the screencast attached. The following code highlights the problem but it is also visible with pure random data.
Plotting the data directly without PyramidScheme fails with a WebGL error; Out of memory
Also Ctrl + left click only slightly shifts the limits and does not return to the original limits.
Screencast.from.08.04.2024.14.14.25.webm
The text was updated successfully, but these errors were encountered: