Skip to content

Commit 47026e7

Browse files
committed
finish 03-02
完成【插入排序】算法实验
1 parent b762763 commit 47026e7

31 files changed

+672
-11
lines changed

app/public/javascripts/03-01-Selection-Sort-Visualization/AlgoVisualizer.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-01-Selection-Sort-Visualization/AlgoVisualizer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-01-Selection-Sort-Visualization/bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ var AlgoFrame_1 = require("./AlgoFrame");
9797
var SelectionSortData_1 = require("./SelectionSortData");
9898
var AlgoVisualizer = (function () {
9999
function AlgoVisualizer(g2d, sceneWidth, sceneHeight, N) {
100-
this.DELAY = 5;
100+
this.DELAY = 40;
101101
this.g2d = g2d;
102102
this.data = new SelectionSortData_1.SelectionSortData(N, sceneHeight);
103103
this.data_list = [];
@@ -192,6 +192,6 @@ var g2d = canvas.getContext('2d');
192192
canvas.width = sceneWidth;
193193
canvas.height = sceneHeight;
194194
var N = 100;
195-
var visualizer = new AlgoVisualizer_1.AlgoVisualizer(g2d, sceneWidth, sceneHeight, 100);
195+
var visualizer = new AlgoVisualizer_1.AlgoVisualizer(g2d, sceneWidth, sceneHeight, N);
196196

197197
},{"./AlgoVisualizer":3}]},{},[5]);

app/public/javascripts/03-01-Selection-Sort-Visualization/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-01-Selection-Sort-Visualization/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-02-Insertion-Sort-Visualization/AlgoFrame.js

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-02-Insertion-Sort-Visualization/AlgoFrame.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-02-Insertion-Sort-Visualization/AlgoVisHelper.js

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-02-Insertion-Sort-Visualization/AlgoVisHelper.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-02-Insertion-Sort-Visualization/AlgoVisualizer.js

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)