ufosc / manim-data-structures

A Manim plugin that contains common data structures to create Manimations.
https://manim-data-structures.readthedocs.io
MIT License
6 stars 40 forks source link

Design LinearCollection base class #6

Closed Nikhil-42 closed 3 weeks ago

Nikhil-42 commented 1 year ago

Description

In general, arrays, stacks, queues, linked lists, doubly linked lists, and other linear collections will have similar visual representations and animations involved. It may be most efficient to create a base class LinearCollection (perhaps subclassing VGroup) that implements the visuals and animations which are common to all linear collections.

Visuals

Displays a line of Containers separated by Delimiter. Within each Container is an instance of Data. linear_collection_example Container = Square, Delimiter = None, Data=Integer

Functional Components