Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Creating a 1D axes in a 3D scene – Manim

so I’m trying to create a 1d axes and I’m failing. what I’m trying to achieve is a line with a tip that is numbered correctly and I zoom in the camera so that it shows a 2D view of the axes, and then I change the camera orientation and it rotates around the 1D axes. How can I achieve the 1D axes ?

I tried to set the length of one axis to zero but that didn’t work because the tip was sticking out !
axes = Axes( x_length=10, y_length=0, )
I tried to hide it’s tip but I didn’t find a way!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

A NumberLine gives you a proper 1D-axis
ManimCE documentation

enter image description here

Even though I don’t quite understand what you exactly want to do…

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading