We use inheritance and abstraction shown in the code below:
Fibonacci - Frontend
Sorting
We first create a file to handle all of the animations that will be sent to the frontend. We use inheritance for the various animation classes and sort classes.
We then send the variables inputted by the user from the frontend as private variables, sending it into each sort class.
Merge Sort - Backend
This is how the backend handles merge sort, logging each step in the merge sort to send to the frontend to show the sorting.
Insertion Sort - Backend
This is how the insertion sort is currently logged, however there is still some things that need to be changed.
This is an output that is from the backend server:
Sorting - Frontend
This is how we would display the frontend animation with the data in the backend. We render the animation frame by frame and then we edit the divisions shown.
Similar methods will be implemented for the other sorts and they will be displayed in a similar way.
Key Commits
David - Insertion Sort
My key commit is creating the insertion sort algorithm in Java.
Ethan - Fibonacci and Bubble Sort
My key commit is the Fibonacci methods in the backend
Frontend: https://dea-frontend.vercel.app/pages/fibonacci.html
Backend: https://dea.stu.nighthawkcodingsociety.com/
Fibonacci
Fibonacci - Backend
We use inheritance and abstraction shown in the code below:
Fibonacci - Frontend
Sorting
We first create a file to handle all of the animations that will be sent to the frontend. We use inheritance for the various animation classes and sort classes.
We then send the variables inputted by the user from the frontend as private variables, sending it into each sort class.
Merge Sort - Backend
This is how the backend handles merge sort, logging each step in the merge sort to send to the frontend to show the sorting.
Insertion Sort - Backend
This is how the insertion sort is currently logged, however there is still some things that need to be changed.
This is an output that is from the backend server:
Sorting - Frontend
This is how we would display the frontend animation with the data in the backend. We render the animation frame by frame and then we edit the divisions shown.
Similar methods will be implemented for the other sorts and they will be displayed in a similar way.
Key Commits
David - Insertion Sort
My key commit is creating the insertion sort algorithm in Java.
Ethan - Fibonacci and Bubble Sort
My key commit is the Fibonacci methods in the backend