manim-rubikscube icon indicating copy to clipboard operation
manim-rubikscube copied to clipboard

A Manim implementation of the classic Rubik's Cube

Results 6 manim-rubikscube issues
Sort by recently updated
recently updated
newest added

The 5th line in the manim_rubikscube/cubie.py file should be ```python from manim.mobject.geometry.polygram import Square ``` because Square doesn't exist on manim.mobject.geometry.

During the rotation, there's a rendering problem as show in the video and picture. https://user-images.githubusercontent.com/47852787/169686307-a4bece59-d991-424a-8b9f-f1e8e595a0e9.mp4

This change makes `CubeMove` use the `rate_func` parameter that specifies how the animation progresses. So by default, the rotation will be smooth, whereas the current default is a linear function...

Resolves #4. Instead of using `get_rounded_center()`, now gets the relevant slice of `cubies` and rotates it using `np.rot90`. This avoids precision altogether and is also computationally efficient. I tested this...

When the cube is rotated so that it's not axis-aligned, CubeMove throws a KeyError. Example: ```python from manim import * from manim_rubikscube import * class RubiksCubeBug(ThreeDScene): def construct(self): cube =...

Hey there, I really appreciate your work! At the moment OpenGL does support 3D scenes quite effectively so I was wondering if there's going to be OpenGL support any time...