commit 5a8add09d3293af4f5ae36dd53448095bb9944e7
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:16:29 +0000
Subject: updated bg.scroll
diff --git a/bg.scroll b/bg.scroll
index a71ccc2..60589cf 100644
--- a/bg.scroll
+++ b/bg.scroll
@@ -1,3 +1,3 @@
iframe
src https://starboom.scroll.pub/boom.html
- style position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: 100%;
\ No newline at end of file
+ style position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: 100%; margin: 0; border: 0; padding: 0;
\ No newline at end of file
commit 7b411c9b15b4511e4a7037c4794199f100c847fb
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:14:03 +0000
Subject: updated bg.scroll
diff --git a/bg.scroll b/bg.scroll
index e69de29..a71ccc2 100644
--- a/bg.scroll
+++ b/bg.scroll
@@ -0,0 +1,3 @@
+iframe
+ src https://starboom.scroll.pub/boom.html
+ style position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: 100%;
\ No newline at end of file
commit 0547bb9572614a1d859ab68dad7adfa9c52f199a
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:13:59 +0000
Subject: created bg.scroll
diff --git a/bg.scroll b/bg.scroll
new file mode 100644
index 0000000..e69de29
commit 805b38e34ace4f41a027c62b89f17fe229198d1a
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:11:31 +0000
Subject: updated boom.html
diff --git a/boom.html b/boom.html
index 166c5d5..d06664d 100644
--- a/boom.html
+++ b/boom.html
@@ -1,31 +1,25 @@
-<!doctype html>
-<html>
- <head>
- <title>GLSL Shader</title>
- <style>
- body {
- margin: 0;
- overflow: hidden;
- background: #000;
- }
- canvas {
- width: 100vw;
- height: 100vh;
- display: block;
- }
- </style>
- </head>
- <body>
- <canvas id="glCanvas"></canvas>
- <script>
- const vertexShaderSource = `
+<style>
+ body {
+ margin: 0;
+ overflow: hidden;
+ background: #000;
+ }
+ canvas {
+ width: 100vw;
+ height: 100vh;
+ display: block;
+ }
+</style>
+<canvas id="glCanvas"></canvas>
+<script>
+ const vertexShaderSource = `
attribute vec4 aVertexPosition;
void main() {
gl_Position = aVertexPosition;
}
`;
- const fragmentShaderSource = `
+ const fragmentShaderSource = `
precision highp float;
uniform vec2 r;
uniform float t;
@@ -84,126 +78,116 @@
}
`;
- function createShader(gl, type, source) {
- const shader = gl.createShader(type);
- gl.shaderSource(shader, source);
- gl.compileShader(shader);
-
- if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
- console.error("Shader compile error:", gl.getShaderInfoLog(shader));
- gl.deleteShader(shader);
- throw new Error(
- "Shader compilation failed: " + gl.getShaderInfoLog(shader),
- );
- }
- return shader;
- }
-
- function initShaderProgram(gl, vsSource, fsSource) {
- const vertexShader = createShader(gl, gl.VERTEX_SHADER, vsSource);
- const fragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fsSource);
-
- const shaderProgram = gl.createProgram();
- gl.attachShader(shaderProgram, vertexShader);
- gl.attachShader(shaderProgram, fragmentShader);
- gl.linkProgram(shaderProgram);
-
- if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
- console.error(
- "Program link error:",
- gl.getProgramInfoLog(shaderProgram),
- );
- return null;
- }
- return shaderProgram;
- }
-
- function main() {
- const canvas = document.querySelector("#glCanvas");
- const gl = canvas.getContext("webgl");
-
- if (!gl) {
- console.error("WebGL not available");
- return;
- }
-
- const shaderProgram = initShaderProgram(
- gl,
- vertexShaderSource,
- fragmentShaderSource,
- );
- if (!shaderProgram) return;
-
- const programInfo = {
- program: shaderProgram,
- attribLocations: {
- vertexPosition: gl.getAttribLocation(
- shaderProgram,
- "aVertexPosition",
- ),
- },
- uniformLocations: {
- resolution: gl.getUniformLocation(shaderProgram, "r"),
- time: gl.getUniformLocation(shaderProgram, "t"),
- },
- };
-
- const positions = new Float32Array([
- -1.0, -1.0, 1.0, -1.0, -1.0, 1.0, 1.0, 1.0,
- ]);
-
- const positionBuffer = gl.createBuffer();
- gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
- gl.bufferData(gl.ARRAY_BUFFER, positions, gl.STATIC_DRAW);
-
- let then = 0;
- function render(now) {
- now *= 0.001; // Convert to seconds
- const deltaTime = now - then;
- then = now;
-
- canvas.width = window.innerWidth;
- canvas.height = window.innerHeight;
- gl.viewport(0, 0, canvas.width, canvas.height);
-
- gl.clearColor(0.0, 0.0, 0.0, 1.0);
- gl.clear(gl.COLOR_BUFFER_BIT);
-
- gl.useProgram(programInfo.program);
-
- gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
- gl.vertexAttribPointer(
- programInfo.attribLocations.vertexPosition,
- 2, // 2 components per vertex
- gl.FLOAT, // the data is 32bit floats
- false, // don't normalize
- 0, // stride
- 0, // offset
- );
- gl.enableVertexAttribArray(
- programInfo.attribLocations.vertexPosition,
- );
-
- gl.uniform2f(
- programInfo.uniformLocations.resolution,
- canvas.width,
- canvas.height,
- );
- gl.uniform1f(programInfo.uniformLocations.time, now);
-
- gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
-
- requestAnimationFrame(render);
- }
- requestAnimationFrame(render);
- }
-
- window.onload = main;
- window.addEventListener("resize", () => {
- const canvas = document.querySelector("#glCanvas");
- canvas.width = window.innerWidth;
- canvas.height = window.innerHeight;
- });
- </script>
- </body>
-</html>
+ function createShader(gl, type, source) {
+ const shader = gl.createShader(type);
+ gl.shaderSource(shader, source);
+ gl.compileShader(shader);
+
+ if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
+ console.error("Shader compile error:", gl.getShaderInfoLog(shader));
+ gl.deleteShader(shader);
+ throw new Error(
+ "Shader compilation failed: " + gl.getShaderInfoLog(shader),
+ );
+ }
+ return shader;
+ }
+
+ function initShaderProgram(gl, vsSource, fsSource) {
+ const vertexShader = createShader(gl, gl.VERTEX_SHADER, vsSource);
+ const fragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fsSource);
+
+ const shaderProgram = gl.createProgram();
+ gl.attachShader(shaderProgram, vertexShader);
+ gl.attachShader(shaderProgram, fragmentShader);
+ gl.linkProgram(shaderProgram);
+
+ if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
+ console.error("Program link error:", gl.getProgramInfoLog(shaderProgram));
+ return null;
+ }
+ return shaderProgram;
+ }
+
+ function main() {
+ const canvas = document.querySelector("#glCanvas");
+ const gl = canvas.getContext("webgl");
+
+ if (!gl) {
+ console.error("WebGL not available");
+ return;
+ }
+
+ const shaderProgram = initShaderProgram(
+ gl,
+ vertexShaderSource,
+ fragmentShaderSource,
+ );
+ if (!shaderProgram) return;
+
+ const programInfo = {
+ program: shaderProgram,
+ attribLocations: {
+ vertexPosition: gl.getAttribLocation(shaderProgram, "aVertexPosition"),
+ },
+ uniformLocations: {
+ resolution: gl.getUniformLocation(shaderProgram, "r"),
+ time: gl.getUniformLocation(shaderProgram, "t"),
+ },
+ };
+
+ const positions = new Float32Array([
+ -1.0, -1.0, 1.0, -1.0, -1.0, 1.0, 1.0, 1.0,
+ ]);
+
+ const positionBuffer = gl.createBuffer();
+ gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
+ gl.bufferData(gl.ARRAY_BUFFER, positions, gl.STATIC_DRAW);
+
+ let then = 0;
+ function render(now) {
+ now *= 0.001; // Convert to seconds
+ const deltaTime = now - then;
+ then = now;
+
+ canvas.width = window.innerWidth;
+ canvas.height = window.innerHeight;
+ gl.viewport(0, 0, canvas.width, canvas.height);
+
+ gl.clearColor(0.0, 0.0, 0.0, 1.0);
+ gl.clear(gl.COLOR_BUFFER_BIT);
+
+ gl.useProgram(programInfo.program);
+
+ gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
+ gl.vertexAttribPointer(
+ programInfo.attribLocations.vertexPosition,
+ 2, // 2 components per vertex
+ gl.FLOAT, // the data is 32bit floats
+ false, // don't normalize
+ 0, // stride
+ 0, // offset
+ );
+ gl.enableVertexAttribArray(programInfo.attribLocations.vertexPosition);
+
+ gl.uniform2f(
+ programInfo.uniformLocations.resolution,
+ canvas.width,
+ canvas.height,
+ );
+ gl.uniform1f(programInfo.uniformLocations.time, now);
+
+ gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
+
+ requestAnimationFrame(render);
+ }
+ requestAnimationFrame(render);
+ }
+
+ window.onload = main;
+ window.addEventListener("resize", () => {
+ const canvas = document.querySelector("#glCanvas");
+ canvas.width = window.innerWidth;
+ canvas.height = window.innerHeight;
+ });
+</script>
commit 0e5afa9893f8313639ef684ed0b43fa5d6bf90a3
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:03:10 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index a299eef..de0d481 100644
--- a/index.scroll
+++ b/index.scroll
@@ -4,7 +4,7 @@ boom.html
// https://x.com/XorDev/status/1880344887033569682
a Source
- https://x.com/XorDev/status/1880344887033569682
+ href https://x.com/XorDev/status/1880344887033569682
style position: fixed; bottom: 10px; right: 10px; text-decoration: none;
font Slim
\ No newline at end of file
commit a2f4c93174eb666c15424a4ebd1d92f52673ce9b
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:03:05 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 5439a45..a299eef 100644
--- a/index.scroll
+++ b/index.scroll
@@ -3,8 +3,8 @@ editButton /edit.html?folderName=starboom.scroll.pub&command=showWelcomeMessageC
boom.html
// https://x.com/XorDev/status/1880344887033569682
-Source: XorDev
+a Source
https://x.com/XorDev/status/1880344887033569682
- style position: fixed; bottom: 10px; right: 10px;
+ style position: fixed; bottom: 10px; right: 10px; text-decoration: none;
font Slim
\ No newline at end of file
commit 72707ebcc160394c900101c4d94f3aa72380b14a
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:02:51 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 0383aba..5439a45 100644
--- a/index.scroll
+++ b/index.scroll
@@ -3,6 +3,8 @@ editButton /edit.html?folderName=starboom.scroll.pub&command=showWelcomeMessageC
boom.html
// https://x.com/XorDev/status/1880344887033569682
-Source
+Source: XorDev
https://x.com/XorDev/status/1880344887033569682
- style position: fixed; bottom: 10px; right: 10px;
\ No newline at end of file
+ style position: fixed; bottom: 10px; right: 10px;
+
+font Slim
\ No newline at end of file
commit bc0ccd8ef65dfdba0cb2f2084227d04594ced839
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:02:33 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 1155db1..0383aba 100644
--- a/index.scroll
+++ b/index.scroll
@@ -4,4 +4,5 @@ boom.html
// https://x.com/XorDev/status/1880344887033569682
Source
- https://x.com/XorDev/status/1880344887033569682
\ No newline at end of file
+ https://x.com/XorDev/status/1880344887033569682
+ style position: fixed; bottom: 10px; right: 10px;
\ No newline at end of file
commit e3f475e503ef2981443647a8490934c94ceef920
Author: ffff:207.243.92.34 <ffff:207.243.92.34@starboom.scroll.pub>
Date: 2025-01-17 22:02:14 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 830619a..1155db1 100644
--- a/index.scroll
+++ b/index.scroll
@@ -1,4 +1,7 @@
buildHtml
editButton /edit.html?folderName=starboom.scroll.pub&command=showWelcomeMessageCommand&fileName=index.scroll
boom.html
-// https://x.com/XorDev/status/1880344887033569682
\ No newline at end of file
+// https://x.com/XorDev/status/1880344887033569682
+
+Source
+ https://x.com/XorDev/status/1880344887033569682
\ No newline at end of file
commit 4fa42f2daee6a96cb9ee983c63e863a8fd02a4c5
Author: ffff:207.243.92.34 <ffff:207.243.92.34@hub.scroll.pub>
Date: 2025-01-17 22:00:56 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 3ebebc7..830619a 100644
--- a/index.scroll
+++ b/index.scroll
@@ -1,4 +1,4 @@
buildHtml
-editButton
+editButton /edit.html?folderName=starboom.scroll.pub&command=showWelcomeMessageCommand&fileName=index.scroll
boom.html
// https://x.com/XorDev/status/1880344887033569682
\ No newline at end of file