ManimInstr

abstract class ManimInstr

Manim instruction abstract class Implemented by every linear representation instruction

Constructors

ManimInstr
Link copied to clipboard
fun ManimInstr()
Create empty Manim instr

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getInstructionString
Link copied to clipboard
fun getInstructionString(instruction: String, spread: Boolean): String
Get instruction string to be played using Manim
getRuntimeString
Link copied to clipboard
fun getRuntimeString(): String
Get runtime string using runtime provided
hashCode
Link copied to clipboard
open fun hashCode(): Int
toPython
Link copied to clipboard
abstract fun toPython(): List<String>
Function for converting linear representation instruction to its corresponding Python instructions
toString
Link copied to clipboard
open fun toString(): String

Properties

render
Link copied to clipboard
open val render: Boolean = false
Boolean to express whether instruction should be rendered in animation
runtime
Link copied to clipboard
abstract val runtime: Double
Runtime of instruction in animation

Inheritors

Sleep
Link copied to clipboard
MoveToLine
Link copied to clipboard
RestyleRectangle
Link copied to clipboard
UpdateSubtitle
Link copied to clipboard
UpdateVariableState
Link copied to clipboard
CleanUpLocalDataStructures
Link copied to clipboard
MObject
Link copied to clipboard
ArrayElemAssignObject
Link copied to clipboard
ArrayReplaceRow
Link copied to clipboard
Array2DSwap
Link copied to clipboard
ArrayShortSwap
Link copied to clipboard
ArrayLongSwap
Link copied to clipboard
ArrayElemRestyle
Link copied to clipboard
TreeAppendObject
Link copied to clipboard
NodeAppendObject
Link copied to clipboard
TreeNodeRestyle
Link copied to clipboard
TreeEditValue
Link copied to clipboard
TreeDeleteObject
Link copied to clipboard
ListPrepend
Link copied to clipboard
ListAppend
Link copied to clipboard
StackPushObject
Link copied to clipboard
StackPopObject
Link copied to clipboard