Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Sort Visualizer Plugin

Demos

Usage

The presentation is rendered at (0, 50, 0) in the Overworld, facing the positive X direction.

Get items used to control the visualizer.

/sortVis GIVE_ITEMS

Run a specific algorithm.

/sortVis {ALGORITHM_NAME}

Change the size of the array, where {INT} is the number of elements.

/sortVis RESIZE {INT}

Change the presentation speed, where {INT} is the number of game ticks between each step.

/sortVis EVENT_DURATION {INT}

Customization

To add an algorithm:

  • Find an existing algorithm in the algorithms folder for reference.
  • Create a new file, and declare a function using the reference.
  • Register the algorithm in the algorithms array inside SortVisualizerPlugin.kt.
val algorithms = arrayOf<AlgorithmDetails>(
	...
	AlgorithmDetails("myAlgorithm", "My Algorithm", myAlgorithm),
);

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages