An open API service indexing awesome lists of open source software.

https://github.com/huytd/js-playground

A JS playground with some decent visualization
https://github.com/huytd/js-playground

algorithm hacktoberfest javascript playground visualize-data

Last synced: 2 months ago
JSON representation

A JS playground with some decent visualization

Awesome Lists containing this project

README

          

# Yet another JS Playground

This time, with some decent data structure visualization.

![](screenshot.png)

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]);
```