Skip to content

Instantly share code, notes, and snippets.

View philleif's full-sized avatar
💭
brb hw

Phil Leif philleif

💭
brb hw
View GitHub Profile
@philleif
philleif / visualization-d3.html
Created February 11, 2026 19:12
GRIDS pipeline visualization - Love Line run-1770821136
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GRIDS Report -- Love Line</title>
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<style>
* { margin:0; padding:0; box-sizing:border-box; }
body { background:#0a0a0a; color:#ccc; font-family:'SF Mono','Fira Code',Consolas,monospace; overflow:hidden; }
#app { display:flex; height:100vh; width:100vw; }
@philleif
philleif / visualization-d3.html
Created February 11, 2026 13:08
GRIDS D3 visualization - Love Line run (phase 1a)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GRIDS Report -- Love Line</title>
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<style>
* { margin:0; padding:0; box-sizing:border-box; }
body { background:#0a0a0a; color:#ccc; font-family:'SF Mono','Fira Code',Consolas,monospace; overflow:hidden; }
#app { display:flex; height:100vh; width:100vw; }
@philleif
philleif / visualization-d3.html
Created February 10, 2026 17:53
Love Line - GRIDS pipeline visualization (10x7 grid, 7 domains, 41 cells)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GRIDS Report -- Love Line (love-line seed)</title>
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<style>
* { margin:0; padding:0; box-sizing:border-box; }
body { background:#0a0a0a; color:#ccc; font-family:'SF Mono','Fira Code',Consolas,monospace; overflow:hidden; }
#app { display:flex; height:100vh; width:100vw; }
@philleif
philleif / visualization-d3.html
Created February 8, 2026 15:32
GRIDS Agent Network Visualization -- Love Line (Run 1770560001) -- D3 animated network + group chat view
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GRIDS Agent Network -- Run 1770560001 -- Love Line</title>
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<style>
* { margin:0; padding:0; box-sizing:border-box; }
body { background:#0a0a0a; color:#ccc; font-family:'SF Mono','Fira Code',Consolas,monospace; overflow:hidden; }
#app { display:flex; height:100vh; width:100vw; }
@philleif
philleif / terrain-alignment-guide.md
Last active February 8, 2026 15:23
Fixing Terrain Render / Map Overlay Alignment — Approaches & Cursor Prompts

Fixing Terrain Render / Map Overlay Alignment

The Problem

You have a pipeline that renders beautiful terrain hillshade tiles:

Copernicus 30m DEM (GeoTIFF) → Blender Cycles render → tile slicing → z/x/y tiles → MapLibre overlay
@philleif
philleif / GRIDS-whitepaper.md
Created February 8, 2026 14:01
GRIDS: Emergent Orchestration for Creative AI -- whitepaper draft v1

GRIDS: Emergent Orchestration for Creative AI

An architecture where complex creative output arises from simple local rules, economic flow management, and deep domain expertise -- with no central planner.

Draft v1 -- February 2026


Abstract

@philleif
philleif / visualization-d3.html
Created February 8, 2026 13:51
GRIDS Agent Network Visualization -- oh hi calling cardz run (D3 force-directed + grid topology, animated timeline)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GRIDS Agent Network -- Run 1770525915</title>
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<style>
* { margin:0; padding:0; box-sizing:border-box; }
body { background:#0a0a0a; color:#ccc; font-family:'SF Mono','Fira Code',Consolas,monospace; overflow:hidden; }
#app { display:flex; height:100vh; width:100vw; }
#include <iostream>
#include <string>
#include <vector>
using namespace std;
string digitName(int digit);
string teenName(int number);
string tensName(int number);
string intName(int number);
@philleif
philleif / gist:e6663ed3c8e44902311a856b7b05b1ac
Created August 24, 2018 21:15
HVEC Quicktime Fix OSX 10.14
ffmpeg -i input.mp4 -vcodec copy -acodec copy -tag:v hvc1 output.mp4

Keybase proof

I hereby claim:

  • I am philleif on github.
  • I am philleif (https://keybase.io/philleif) on keybase.
  • I have a public key whose fingerprint is 71F3 90BF 78FD 1576 C8B6 C691 1BBA 4E57 9DEB 5DF0

To claim this, I am signing this object: