Skip to content

Commit cf0680d

Browse files
committed
small fixes
1 parent 1beeb1d commit cf0680d

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Finish date: December 13, 2020
1212
- [Pathfinding algorithm](https://clementmihailescu.github.io/Pathfinding-Visualizer/) `TODO`
1313

1414
## First Prototype
15-
<img src="mvp1.gif">
15+
<img src="assets/mvp1.gif">
1616

1717
## How to run?
1818
```
@@ -22,7 +22,7 @@ java AlgorithmVisualizer
2222

2323
## Skills Gained
2424
- Multi-Threading using Swing Worker
25-
- Customising Swing Components
25+
- Customizing Swing Components
2626
- Working with Graphics 2D
2727
- Different sorting algorithms
2828

Diff for: Sorting.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,19 @@ public void actionPerformed(ActionEvent e) {
9494
sortAlgo.initShuffler();
9595
}
9696
else if (e.getSource() == jbtMerge) {
97-
sortAlgo.mergeSort(); // Merge sort algotithm
97+
sortAlgo.mergeSort(); // Merge sort algorithm
9898
sortAlgo.initShuffler(); // shuffling
9999
}
100100
else if (e.getSource() == jbtBubble) {
101-
sortAlgo.bubbleSort(); // Bubble sort algotithm
101+
sortAlgo.bubbleSort(); // Bubble sort algorithm
102102
sortAlgo.initShuffler(); // shuffling
103103
}
104104
else if (e.getSource() == jbtInsertion) {
105-
sortAlgo.insertionSort(); // Insertion algotithm
105+
sortAlgo.insertionSort(); // Insertion algorithm
106106
sortAlgo.initShuffler(); // shuffling
107107
}
108108
else if (e.getSource() == jbtSelection) {
109-
sortAlgo.selectionSort(); // Insertion algotithm
109+
sortAlgo.selectionSort(); // Insertion algorithm
110110
sortAlgo.initShuffler(); // shuffling
111111
}
112112
else if (e.getSource() == jbtStart) {

Diff for: mvp1.gif renamed to assets/mvp1.gif

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)