Contents Menu Expand Light mode Dark mode Auto light/dark mode
Manim Community v0.17.3
Light Logo Dark Logo
Manim Community v0.17.3
  • Example Gallery
  • Installation
    • Conda
    • Windows
    • macOS
    • Linux
    • Docker
    • Jupyter Notebooks
  • Tutorials & Guides
    • Tutorials
      • Quickstart
      • Manim’s Output Settings
      • Manim’s building blocks
    • Thematic Guides
      • Configuration
      • A deep dive into Manim’s internals
      • Rendering Text and Formulas
      • Adding Voiceovers to Videos
    • Frequently Asked Questions
      • FAQ: General Usage
      • FAQ: Getting Help
      • FAQ: Installation
      • Where can I learn more about Manim’s internal structure?
      • FAQ: OpenGL rendering
  • Reference Manual
    • Animations
      • animation
        • Animation
        • Wait
      • changing
        • AnimatedBoundary
        • TracedPath
      • composition
        • AnimationGroup
        • LaggedStart
        • LaggedStartMap
        • Succession
      • creation
        • AddTextLetterByLetter
        • AddTextWordByWord
        • Create
        • DrawBorderThenFill
        • RemoveTextLetterByLetter
        • ShowIncreasingSubsets
        • ShowPartial
        • ShowSubmobjectsOneByOne
        • SpiralIn
        • Uncreate
        • Unwrite
        • Write
      • fading
        • FadeIn
        • FadeOut
      • growing
        • GrowArrow
        • GrowFromCenter
        • GrowFromEdge
        • GrowFromPoint
        • SpinInFromNothing
      • indication
        • ApplyWave
        • Circumscribe
        • Flash
        • FocusOn
        • Indicate
        • ShowCreationThenFadeOut
        • ShowPassingFlash
        • ShowPassingFlashWithThinningStrokeWidth
        • Wiggle
      • movement
        • ComplexHomotopy
        • Homotopy
        • MoveAlongPath
        • PhaseFlow
        • SmoothedVectorizedHomotopy
      • numbers
        • ChangeDecimalToValue
        • ChangingDecimal
      • rotation
        • Rotate
        • Rotating
      • specialized
        • Broadcast
      • speedmodifier
        • ChangeSpeed
      • transform
        • ApplyComplexFunction
        • ApplyFunction
        • ApplyMatrix
        • ApplyMethod
        • ApplyPointwiseFunction
        • ApplyPointwiseFunctionToCenter
        • ClockwiseTransform
        • CounterclockwiseTransform
        • CyclicReplace
        • FadeToColor
        • FadeTransform
        • FadeTransformPieces
        • MoveToTarget
        • ReplacementTransform
        • Restore
        • ScaleInPlace
        • ShrinkToCenter
        • Swap
        • Transform
        • TransformAnimations
        • TransformFromCopy
      • transform_matching_parts
        • TransformMatchingAbstractBase
        • TransformMatchingShapes
        • TransformMatchingTex
      • updaters
        • mobject_update_utils
        • update
          • MaintainPositionRelativeTo
          • UpdateFromAlphaFunc
          • UpdateFromFunc
    • Cameras
      • camera
        • BackgroundColoredVMobjectDisplayer
        • Camera
      • mapping_camera
        • MappingCamera
        • OldMultiCamera
        • SplitScreenCamera
      • moving_camera
        • MovingCamera
      • multi_camera
        • MultiCamera
      • three_d_camera
        • ThreeDCamera
    • Configuration
      • _config
      • utils
        • ManimConfig
        • ManimFrame
      • logger_utils
        • JSONFormatter
    • Mobjects
      • frame
        • FullScreenRectangle
        • ScreenRectangle
      • geometry
        • arc
          • AnnotationDot
          • AnnularSector
          • Annulus
          • Arc
          • ArcBetweenPoints
          • ArcPolygon
          • ArcPolygonFromArcs
          • Circle
          • CubicBezier
          • CurvedArrow
          • CurvedDoubleArrow
          • Dot
          • Ellipse
          • LabeledDot
          • Sector
          • TipableVMobject
        • boolean_ops
          • Difference
          • Exclusion
          • Intersection
          • Union
        • line
          • Angle
          • Arrow
          • DashedLine
          • DoubleArrow
          • Elbow
          • Line
          • RightAngle
          • TangentLine
          • Vector
        • polygram
          • Cutout
          • Polygon
          • Polygram
          • Rectangle
          • RegularPolygon
          • RegularPolygram
          • RoundedRectangle
          • Square
          • Star
          • Triangle
        • shape_matchers
          • BackgroundRectangle
          • Cross
          • SurroundingRectangle
          • Underline
        • tips
          • ArrowCircleFilledTip
          • ArrowCircleTip
          • ArrowSquareFilledTip
          • ArrowSquareTip
          • ArrowTip
          • ArrowTriangleFilledTip
          • ArrowTriangleTip
          • StealthTip
      • graph
        • DiGraph
        • GenericGraph
        • Graph
      • graphing
        • coordinate_systems
          • Axes
          • ComplexPlane
          • CoordinateSystem
          • NumberPlane
          • PolarPlane
          • ThreeDAxes
        • functions
          • FunctionGraph
          • ImplicitFunction
          • ParametricFunction
        • number_line
          • NumberLine
          • UnitInterval
        • probability
          • BarChart
          • SampleSpace
        • scale
          • LinearBase
          • LogBase
      • logo
        • ManimBanner
      • matrix
        • DecimalMatrix
        • IntegerMatrix
        • Matrix
        • MobjectMatrix
      • mobject
        • Group
        • Mobject
      • svg
        • brace
          • ArcBrace
          • Brace
          • BraceBetweenPoints
          • BraceLabel
          • BraceText
        • svg_mobject
          • SVGMobject
          • VMobjectFromSVGPath
      • table
        • DecimalTable
        • IntegerTable
        • MathTable
        • MobjectTable
        • Table
      • text
        • code_mobject
          • Code
        • numbers
          • DecimalNumber
          • Integer
          • Variable
        • tex_mobject
          • BulletedList
          • MathTex
          • SingleStringMathTex
          • Tex
          • Title
        • text_mobject
          • MarkupText
          • Paragraph
          • Text
      • three_d
        • polyhedra
          • Dodecahedron
          • Icosahedron
          • Octahedron
          • Polyhedron
          • Tetrahedron
        • three_d_utils
        • three_dimensions
          • Arrow3D
          • Cone
          • Cube
          • Cylinder
          • Dot3D
          • Line3D
          • Prism
          • Sphere
          • Surface
          • ThreeDVMobject
          • Torus
      • types
        • image_mobject
          • AbstractImageMobject
          • ImageMobject
          • ImageMobjectFromCamera
        • point_cloud_mobject
          • Mobject1D
          • Mobject2D
          • PGroup
          • PMobject
          • Point
          • PointCloudDot
        • vectorized_mobject
          • CurvesAsSubmobjects
          • DashedVMobject
          • VDict
          • VGroup
          • VMobject
          • VectorizedPoint
      • utils
      • value_tracker
        • ComplexValueTracker
        • ValueTracker
      • vector_field
        • ArrowVectorField
        • StreamLines
        • VectorField
    • Scenes
      • moving_camera_scene
        • MovingCameraScene
      • section
        • DefaultSectionType
        • Section
      • scene
        • RerunSceneHandler
        • Scene
      • scene_file_writer
        • SceneFileWriter
      • three_d_scene
        • SpecialThreeDScene
        • ThreeDScene
      • vector_space_scene
        • LinearTransformationScene
        • VectorScene
      • zoomed_scene
        • ZoomedScene
    • Utilities and other modules
      • constants
        • LineJointType
        • RendererType
      • bezier
      • color
        • Colors
      • commands
      • config_ops
        • DictAsObject
      • deprecation
      • debug
      • docbuild
      • hashing
      • ipython_magic
        • ManimMagic
      • images
      • iterables
      • paths
      • rate_functions
      • simple_functions
      • sounds
      • space_ops
      • tex
        • TexTemplate
        • TexTemplateFromFile
      • tex_templates
        • TexFontTemplates
        • TexTemplateLibrary
      • tex_file_writing
  • Plugins
  • Changelog
    • v0.17.3
    • v0.17.2
    • v0.17.1
    • v0.17.0
    • v0.16.0
    • v0.15.2
    • v0.15.1
    • v0.15.0
    • v0.14.0
    • v0.13.1
    • v0.13.0
    • v0.12.0
    • v0.11.0
    • v0.10.0
    • v0.9.0
    • v0.8.0
    • v0.7.0
    • v0.6.0
    • v0.5.0
    • v0.4.0
    • v0.3.0
    • v0.2.0
    • v0.1.1
    • v0.1.0
  • Contributing
    • Manim Development Process
    • Adding Docstrings
    • Adding References
    • Adding Examples
    • Adding Typings
    • Adding Admonitions
    • Adding Tests
    • Improving performance
    • Internationalization
  • Code of Conduct
  v: v0.17.3
Versions
latest
stable
v0.17.3
v0.17.2
v0.17.1
v0.17.0
v0.16.0.post0
v0.16.0
v0.15.2
v0.15.1
v0.15.0
v0.14.0
v0.13.1
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.1
v0.1.0
Downloads
On Read the Docs
Project Home
Builds
Back to top

boolean_ops#

Boolean operations for two-dimensional mobjects.

Classes

Difference

Subtracts one VMobject from another one.

Exclusion

Find the XOR between two VMobject.

Intersection

Find the intersection of two VMobject s.

Union

Union of two or more VMobject s.

Next
Difference
Previous
TipableVMobject
Copyright © 2020-2022, The Manim Community Dev Team
Made with Sphinx and @pradyunsg's Furo