Skip to content

Latest commit

 

History

History
77 lines (51 loc) · 3.75 KB

CONTRIBUTING.md

File metadata and controls

77 lines (51 loc) · 3.75 KB

Contributing

Table of Contents

Are you a first-timer in contributing to open source? These guidelines from GitHub might help!

Learning About Tracers

The project Algorithm Visualizer has a visualization library in each supported language (JavaScript, C++, and Java) to visualize codes.

There are five tracers in the library to visualize different types of data:

There are also randomizers to help you create random data.

Check out the API reference for more information.

Running on Scratch Paper

At the bottom left corner of algorithm-visualizer.org, there is Scratch Paper where you can visualize your own code.

We highly encourage you to test your visualization on Scratch Paper several times before creating a pull request.

Directory Structures

  • Category A/
    • Algorithm A/
      • code.js
      • code.cpp
      • code.java
      • README.md
    • Algorithm B/
    • Algorithm C/
    • ...
  • Category B/
  • Category C/
  • ...

Creating a Pull Request

  1. Fork this repository.

    'Fork' button is at the top right corner of this page.

  2. Create a branch named the algorithm you'd like to add/improve.

    'Branch' button is below the header of your forked repository.

  3. Make changes.

    Understand the directory structure, and create or edit files accordingly.

    If you want to create a directory, check out this Stack Overflow answer.

    Input a commit message addressing your changes, and make sure you are committing to the branch you created.

  4. Create a pull request.

    'Compare & pull request' button is below the header of the main page of your forked repository.

    Make sure you are merging to algorithm-visualizer/algorithms's master branch from your forked repository's branch you created.

  5. Thanks for your contribution! Once we review and merge your pull request, your changes will be reflected on algorithm-visualizer.org.