We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fac3ada commit a47ae0aCopy full SHA for a47ae0a
js/secrets.js
@@ -41,6 +41,17 @@ for (var f in flowers) {
41
})
42
}
43
44
+function makeGrid(rows, cols) {
45
+ $('body').empty();
46
+ for (var r = 0; r < rows; r++) {
47
+ var rowId = "row" + r;
48
+ var row = $("<div/>").addClass("row").attr("id", rowId).appendTo('body');
49
+ for (var c = 0; c < cols + 1; c++) {
50
+ var cellId = "cell" + ((r * rows) + c);
51
+ $(row).append('<div class="cell" id="' + cellId + '"></div>');
52
+ }
53
54
+}
55
56
function roseMath(radius, v, k, t) {
57
v.x = radius * Math.cos(k * t) * Math.cos(t);
0 commit comments