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
Matplotlib has a very nice method to define in which layer objects are shown on the screen with a parameter zorder.
When working with manim, it's sometimes a little tricky to get the layers right, so what about an implementation, where you can write:
d=Dot()
self.add(d, zorder=1)
Furthermore, there could be defaults like:
Dots at the first layer
Text & Equations at the second layer
Shapes on the third layer
Functions and graphs on the fourth layer.
When I posted this text to the discord server, @eulertour wrote:
I don't think it would require anything more than sorting scene.mobjects by z-index before rendering each frame
and since its already possible to assign arbitrary attributes to mobjects it may end up being a one-line change
The text was updated successfully, but these errors were encountered:
Relatedly, I was under the impression that mobject.get_z_index_reference_point had something to do with this, but now I'm not sure what it's supposed to be doing.
Matplotlib has a very nice method to define in which layer objects are shown on the screen with a parameter

zorder
.When working with manim, it's sometimes a little tricky to get the layers right, so what about an implementation, where you can write:
Furthermore, there could be defaults like:
When I posted this text to the discord server, @eulertour wrote:
The text was updated successfully, but these errors were encountered: