Skip to content

akinokoika/Red-black-tree-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red-black-tree-visualization

Red black tree visualization in JS,Konva,TimelineLite,Vue3,Papercss,Big

Readme english version: README_EN

介绍

  • 效果:红黑树的可视化
  • 功能:完整的插入和删除,以及全部补间动画版本
  • 语言:Javascript es6
  • 开源:KonvaTweenLiteVue3PapercssBig
  • 其他:红黑树性质4和5的判断,坐标向量的矩阵运算

在线

web demo

图片

代码

var t = init()
var x = Number(handle.info)
t = insert(x, t)
t = del(x, t)
insert_cartoon(x, root)
del_cartoon(x, root)
draw(t,0,0)
drag(t)
judge_nature_4(t)
judge_nature_5(t)

About

Visual animation of Red black tree / 红黑树可视化动画

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published