sayak119 / Recurse-and-C

Visualise recursive functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recurse-and-C

Logo

When we study recursive functions, we all wish we could visualise and watch them run step-by-step and then rewind and rerun the code. In this way we can gain better insights on how recursive functions works and when it stops. This will also help teachers explain the basics of recursion in a better manner.

Installation

  • Clone the repository https://github.com/sayak119/Recurse-and-C.
  • Run npm install.
  • Run npm start.

Usage

  • Visit localhost:4200 when the webpack gets compiled successfully.
  • Register your account.
  • After completing registration, go to Login.
  • After successfully logging in, you will see a coding section and graph rendering section.
  • Code and visualise recursions.
  • Play, pause, rewind or move forward step-by-step.
  • You can also save and load a code snippet.

UML diagram

UML diagram

Screenshots

  • Factorial

    Code Factorial

    Output Factorial

  • Fibonacci

    Fibonacci

YouTube video

Demo Video

Icons made by Becris from www.flaticon.com is licensed by Creative Commons BY 3.0

About

Visualise recursive functions


Languages

Language:CSS 88.9%Language:JavaScript 10.1%Language:TypeScript 0.6%Language:HTML 0.3%