I am trying to use Makie interactively. This means, make a plot, change some values in the repl, make a new plot. The new plot shall only be added to the screen. This doesn’t work for me yet.
Precondition: Add my tiny test package:
] add https://github.com/ufechner7/KiteViewer.jl
using KiteViewer rects() show3d()
This displays three rectangles.
If you type now:
The scale of the coordinate system changes, but no sphere is displayed.
If you now type
The sphere is now displayed, but the complete window is closed and redisplayed.
function spheres() mesh!(Sphere(Point3f0(0), 0.5f0), color = :blue) nothing end show3d()=display(Makie.Screen(), scene)
How can I achieve the goal that with the function spheres() the sphere is displayed without redrawing the everything?