Skip to content

Instantly share code, notes, and snippets.

View scriptgrainofficial-lab's full-sized avatar

ScriptGrain scriptgrainofficial-lab

View GitHub Profile
// === SCRIPTGRAIN SG_009: PLATINUM MASTER (GLOW + GLITCH) ===
// Optimized for NVIDIA RTX 5080 | 3840x2160 (4K Cinema)
// Upgrades: Additive Blending (Neon), Chromatic Aberration (Glitch), Perfect HUD Sync
const CONFIG = {
particleCount: 15000,
heartSize: 45,
trailStrength: 40, // Higher opacity for Additive Blending fade
friction: 0.85,
springK: 0.05,
1: The Setup
Create a folder named Herd Immunity. Inside, create text files:
1. HerdImmunity.html
Copy below code to text file and save as:
HerdImmunity.html
@scriptgrainofficial-lab
scriptgrainofficial-lab / 1Superbug_README
Last active February 4, 2026 14:28
Superbug/Antibiotic Resistant Bacteria Simulation
1: The Setup
Create a folder named Superbug. Inside, create text files:
1. Superbug.html
Copy below code to text file and save as:
Superbug.html
@scriptgrainofficial-lab
scriptgrainofficial-lab / 1Brain_README
Last active February 4, 2026 14:26
Brain Simulation
1: The Setup
Create a folder named Brain. Inside, create text files:
1. Brain.html
Copy below code to text file and save as:
Brain.html
@scriptgrainofficial-lab
scriptgrainofficial-lab / 1Heart_README
Last active February 4, 2026 14:23
Heart Simulation
1: The Setup
Create a folder named Heart. Inside, create text files:
1. Heart.html
Copy below code to text file and save as:
Heart.html
1: The Setup
Create a folder named Neon_Fulid. Inside, create two text files:
1. index.html
2. sketch.js
Copy below code to respected text file and save as:
index.html and sketch.js
@scriptgrainofficial-lab
scriptgrainofficial-lab / Singularity_Flow.js
Last active February 4, 2026 14:29
SG_003_Singularity_Flow | 4K p5.js Physics Simulation | RTX 5080 Optimized
/**
* PROJECT: SG_003_Menacing_Singularity
* BRAND: @scriptgrain
* HARDWARE: NVIDIA RTX 5080 (High Particle Load)
* RESOLUTION: 2160x3840 (4K Vertical)
*/
const CONFIG = {
particleCount: 9000, // Pushing the 5080 limits
speed: 10, // Violent acceleration
@scriptgrainofficial-lab
scriptgrainofficial-lab / DigitalBiology_README
Last active February 3, 2026 03:00
ScriptGrain // Digital Biology Simulation (p5.js)
This algorithm simulates organic vein growth using Perlin Noise flow fields.
HOW TO RUN THIS:
Copy the code below.
Go to editor.p5js.org.
Paste the code into the editor.