diff --git a/Catalogue/Scripts/debugFunctions.js b/Catalogue/Scripts/debugFunctions.js new file mode 100644 index 0000000..3bb3a85 --- /dev/null +++ b/Catalogue/Scripts/debugFunctions.js @@ -0,0 +1,21 @@ +function Draw_center() { + ctx.beginPath(); + ctx.moveTo(centerX - 100, centerY); + ctx.lineTo(centerX + 100, centerY); + ctx.moveTo(centerX, centerY - 100); + ctx.lineTo(centerX, centerY + 100); + ctx.strokeStyle = "red"; + ctx.stroke(); + console.log("drawn center") + } + + function DrawBorder(){ + ctx.beginPath(); + ctx.moveTo(0,0); + ctx.lineTo(ctx.canvas.width, 0); + ctx.lineTo(ctx.canvas.width, ctx.canvas.height); + ctx.lineTo(0, ctx.canvas.height); + ctx.lineTo(0,0); + ctx.strokeStyle = "red"; + ctx.stroke(); + } \ No newline at end of file diff --git a/Catalogue/floral inverse animation.html b/Catalogue/floral inverse animation.html new file mode 100644 index 0000000..9b34d03 --- /dev/null +++ b/Catalogue/floral inverse animation.html @@ -0,0 +1,85 @@ + + + + +
+ + + + + \ No newline at end of file diff --git a/Catalogue/floral tri tip touch.html b/Catalogue/floral tri tip touch.html new file mode 100644 index 0000000..8785654 --- /dev/null +++ b/Catalogue/floral tri tip touch.html @@ -0,0 +1,80 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Catalogue/floral.html b/Catalogue/floral.html new file mode 100644 index 0000000..1983404 --- /dev/null +++ b/Catalogue/floral.html @@ -0,0 +1,75 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Catalogue/foral accident.html b/Catalogue/foral accident.html new file mode 100644 index 0000000..2106ae7 --- /dev/null +++ b/Catalogue/foral accident.html @@ -0,0 +1,83 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Catalogue/nodal expanding.html b/Catalogue/nodal expanding.html new file mode 100644 index 0000000..15b763e --- /dev/null +++ b/Catalogue/nodal expanding.html @@ -0,0 +1,101 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Catalogue/nodal.html b/Catalogue/nodal.html new file mode 100644 index 0000000..93d888a --- /dev/null +++ b/Catalogue/nodal.html @@ -0,0 +1,88 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Catalogue/phyllotaxis.html b/Catalogue/phyllotaxis.html new file mode 100644 index 0000000..7e78cd3 --- /dev/null +++ b/Catalogue/phyllotaxis.html @@ -0,0 +1,98 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Catalogue/rectangle pattern 1.html b/Catalogue/rectangle pattern 1.html new file mode 100644 index 0000000..01cc751 --- /dev/null +++ b/Catalogue/rectangle pattern 1.html @@ -0,0 +1,86 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Catalogue/template.html b/Catalogue/template.html index e91558d..fc17f45 100644 --- a/Catalogue/template.html +++ b/Catalogue/template.html @@ -1,44 +1,51 @@ - - - - - - + render(); + + + function render_clear() { + ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); + ctx.fillStyle = "black"; + ctx.fillRect(0, 0, ctx.canvas.width, ctx.canvas.height); + } + + +