huytd / js-playground

A JS playground with some decent visualization

Home Page:https://algorithm-pad.now.sh/

Repository from Github https://github.comhuytd/js-playgroundRepository from Github https://github.comhuytd/js-playground

Yet another JS Playground

This time, with some decent data structure visualization.

Try it online at: https://algorithm-pad.now.sh

Usage:

  • Just write your code normally
  • Whenever you want to visualize your data, use debug().
  • Whenever you want to print a log, use log().

For example:

const str = "Hello World";
// Visualize a string
debug(str);
// Highlight a 3rd character
debug(str, 2);
// Highlight a range of charager
debug(str, [1,2,3]);

About

A JS playground with some decent visualization

https://algorithm-pad.now.sh/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 83.3%Language:SCSS 10.2%Language:JavaScript 5.6%Language:HTML 0.8%