diff --git a/blog/feed/export/A_Year_With_The_Framework_Laptop_13.html b/blog/feed/export/A_Year_With_The_Framework_Laptop_13.html
index d9e7877..f52956c 100644
--- a/blog/feed/export/A_Year_With_The_Framework_Laptop_13.html
+++ b/blog/feed/export/A_Year_With_The_Framework_Laptop_13.html
@@ -21,6 +21,7 @@
+
@@ -28,7 +29,6 @@
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/docs/404.html b/docs/404.html
index 5a25e62..1678b19 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/assets/puddle.js b/docs/assets/puddle.js
index fb37f73..1f63915 100644
--- a/docs/assets/puddle.js
+++ b/docs/assets/puddle.js
@@ -27,7 +27,7 @@ class AsciiNode {
// ASCII shades and their corresponding threshold values
this.asciiShades = [..." .,:-=+*#%@"];
- this.asciiThreshold = this.asciiShades.map((el, index) => index * 100.0 / (this.asciiShades.length - 1));
+ this.asciiThreshold = this.asciiShades.map((el, index) => (index * 100.0) / (this.asciiShades.length - 1));
}
// Attach click and mousemove listeners
@@ -134,7 +134,7 @@ class PuddleData {
// Default simulation parameters
this.maxRippleStrength = 100.0;
this.forceDampeningRatio = 0.85; // Force dampening percent
- this.forceCutOff = 2; // Axial force less than this is set to 0
+ this.forceCutOff = 2; // Axial force less than this is set to 0
this.rippleOnMove = true;
}
@@ -155,15 +155,13 @@ class PuddleData {
// Get node at specific coordinates in the grid
getNode(xx, yy) {
- if (xx < 0 || xx >= this.numCols || yy < 0 || yy >= this.numRows)
- return undefined;
+ if (xx < 0 || xx >= this.numCols || yy < 0 || yy >= this.numRows) return undefined;
return this.nodeList[yy * this.numCols + xx];
}
// Add node to the update queue if not already added
addToUpdateQueue(xx, yy) {
- if (xx < 0 || xx >= this.numCols || yy < 0 || yy >= this.numRows)
- return;
+ if (xx < 0 || xx >= this.numCols || yy < 0 || yy >= this.numRows) return;
let index = yy * this.numCols + xx;
if (!this.nodeList[index].isAddedToUpdate) {
this.updateQueue.push(index);
@@ -221,7 +219,7 @@ class Puddle {
this.setupDefaultOptions();
// Event listener for window resize
- window.addEventListener('resize', () => this.resizeHandler());
+ window.addEventListener("resize", () => this.resizeHandler());
}
// Set the style of nodes
@@ -250,7 +248,7 @@ class Puddle {
this.elementWidth = this.parentNode.scrollWidth;
this.elementHeight = this.parentNode.scrollHeight;
let lesserDimension = this.elementHeight < this.elementWidth ? this.elementHeight : this.elementWidth;
- this.nodeSize = lesserDimension * 3 / 100;
+ this.nodeSize = (lesserDimension * 3) / 100;
if (this.elementHeight) {
this.numRows = Math.floor(this.elementHeight / this.nodeSize);
this.numCols = Math.floor(this.elementWidth / this.nodeSize);
@@ -278,7 +276,7 @@ class Puddle {
clearInterval(this.updateLoop);
this.data.refresh(this.numRows, this.numCols);
- this.parentNode.innerHTML = '';
+ this.parentNode.innerHTML = "";
this.parentNode.style.cssText = `font-family: "Fira Code, monospace"; display: grid; grid-template-columns: repeat(${this.numCols}, ${this.nodeSize}px); grid-template-rows: repeat(${this.numRows}, ${this.nodeSize}px);`;
for (let yy = 0; yy < this.numRows; ++yy) {
@@ -318,9 +316,7 @@ class Puddle {
// Try to update elements in the simulation
tryUpdateElements() {
- if (this.data.isUpdateDone)
- this.data.updateElements()
- else
- console.log("Previous update not completed, skipping update");
+ if (this.data.isUpdateDone) this.data.updateElements();
+ else console.log("Previous update not completed, skipping update");
}
}
diff --git a/docs/blog.html b/docs/blog.html
index 1b3b6fa..3fc871a 100644
--- a/docs/blog.html
+++ b/docs/blog.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/blog/A_Year_With_The_Framework_Laptop_13.html b/docs/blog/A_Year_With_The_Framework_Laptop_13.html
index d9e7877..f52956c 100644
--- a/docs/blog/A_Year_With_The_Framework_Laptop_13.html
+++ b/docs/blog/A_Year_With_The_Framework_Laptop_13.html
@@ -21,6 +21,7 @@
+
@@ -28,7 +29,6 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/portfolio.html b/docs/portfolio.html
index 2c93bc1..ae550f8 100644
--- a/docs/portfolio.html
+++ b/docs/portfolio.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/portfolio/CapChord.html b/docs/portfolio/CapChord.html
index add3074..f824679 100644
--- a/docs/portfolio/CapChord.html
+++ b/docs/portfolio/CapChord.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/portfolio/devoposters.html b/docs/portfolio/devoposters.html
index e083d55..e015467 100644
--- a/docs/portfolio/devoposters.html
+++ b/docs/portfolio/devoposters.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/portfolio/futurefrequencies.html b/docs/portfolio/futurefrequencies.html
index c94b992..6706c55 100644
--- a/docs/portfolio/futurefrequencies.html
+++ b/docs/portfolio/futurefrequencies.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/portfolio/koko.html b/docs/portfolio/koko.html
index 36574ad..422e005 100644
--- a/docs/portfolio/koko.html
+++ b/docs/portfolio/koko.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/portfolio/meattypeface.html b/docs/portfolio/meattypeface.html
index e0142c0..9b0e4d7 100644
--- a/docs/portfolio/meattypeface.html
+++ b/docs/portfolio/meattypeface.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/portfolio/photography.html b/docs/portfolio/photography.html
index a7782cf..a08b9b9 100644
--- a/docs/portfolio/photography.html
+++ b/docs/portfolio/photography.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/portfolio/poemsbypam.html b/docs/portfolio/poemsbypam.html
index 5a95914..5e34961 100644
--- a/docs/portfolio/poemsbypam.html
+++ b/docs/portfolio/poemsbypam.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/portfolio/smashburger.html b/docs/portfolio/smashburger.html
index af16b9a..9317896 100644
--- a/docs/portfolio/smashburger.html
+++ b/docs/portfolio/smashburger.html
@@ -21,6 +21,7 @@
+
diff --git a/docs/services.html b/docs/services.html
index dc75ec8..6b26e07 100644
--- a/docs/services.html
+++ b/docs/services.html
@@ -21,6 +21,7 @@
+
diff --git a/portfolio/feed/export/CapChord.html b/portfolio/feed/export/CapChord.html
index add3074..f824679 100644
--- a/portfolio/feed/export/CapChord.html
+++ b/portfolio/feed/export/CapChord.html
@@ -21,6 +21,7 @@
+
diff --git a/portfolio/feed/export/devoposters.html b/portfolio/feed/export/devoposters.html
index e083d55..e015467 100644
--- a/portfolio/feed/export/devoposters.html
+++ b/portfolio/feed/export/devoposters.html
@@ -21,6 +21,7 @@
+
diff --git a/portfolio/feed/export/futurefrequencies.html b/portfolio/feed/export/futurefrequencies.html
index c94b992..6706c55 100644
--- a/portfolio/feed/export/futurefrequencies.html
+++ b/portfolio/feed/export/futurefrequencies.html
@@ -21,6 +21,7 @@
+
diff --git a/portfolio/feed/export/koko.html b/portfolio/feed/export/koko.html
index 36574ad..422e005 100644
--- a/portfolio/feed/export/koko.html
+++ b/portfolio/feed/export/koko.html
@@ -21,6 +21,7 @@
+
diff --git a/portfolio/feed/export/meattypeface.html b/portfolio/feed/export/meattypeface.html
index e0142c0..9b0e4d7 100644
--- a/portfolio/feed/export/meattypeface.html
+++ b/portfolio/feed/export/meattypeface.html
@@ -21,6 +21,7 @@
+
diff --git a/portfolio/feed/export/photography.html b/portfolio/feed/export/photography.html
index a7782cf..a08b9b9 100644
--- a/portfolio/feed/export/photography.html
+++ b/portfolio/feed/export/photography.html
@@ -21,6 +21,7 @@
+
diff --git a/portfolio/feed/export/poemsbypam.html b/portfolio/feed/export/poemsbypam.html
index 5a95914..5e34961 100644
--- a/portfolio/feed/export/poemsbypam.html
+++ b/portfolio/feed/export/poemsbypam.html
@@ -21,6 +21,7 @@
+
diff --git a/portfolio/feed/export/smashburger.html b/portfolio/feed/export/smashburger.html
index af16b9a..9317896 100644
--- a/portfolio/feed/export/smashburger.html
+++ b/portfolio/feed/export/smashburger.html
@@ -21,6 +21,7 @@
+