Skip to content

Instantly share code, notes, and snippets.

@rndmcnlly
rndmcnlly / cognitive_yield.html
Last active January 25, 2026 06:17
It started as a procedural audio vibe test, but then things got weird.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>THE PLANT</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tone/14.8.49/Tone.js"></script>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
@font-face { font-family: 'Brutalist'; src: local('Courier New'); }
<!-- Vibe-coded with Gambit v1.3 (https://bayleaf.chat/?model=gambit) -->
<!-- DESIGN QUESTION: Does a bounded park with optional destinations feel like -->
<!-- peaceful contentment or subtle confinement? Watch how you move. Do you -->
<!-- visit things purposefully, or drift? Do you test the fences? -->
<!DOCTYPE html>
<html>
<head>
<title>Park Walk</title>
<style>
* { margin: 0; box-sizing: border-box; }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bayesian NPC Generator</title>
<style>
* {
box-sizing: border-box;
}
@rndmcnlly
rndmcnlly / _GenAI Policy Document Activity.md
Last active January 22, 2026 05:24
Helping my students navigate harms while drafting their AGENTS.md files

Framework for Student Project Teams Developing GenAI Policies

The Decision Context

Your team must write an AGENTS.md file that will govern AI tool behavior for your project this quarter. This isn't a personal moral stance—it's a collective operational policy that must be:

  1. Specific enough for tools to parse and conform to
  2. Justified enough that teammates with different underlying concerns can commit to it
  3. Revisable as circumstances or understanding change
@rndmcnlly
rndmcnlly / midpoint_displacement_demo_clip.html
Created January 21, 2026 23:17
Prototyping a demo clip generation tool
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Midpoint Displacement Demo Recording</title>
<style>
* {
margin: 0;
padding: 0;
@rndmcnlly
rndmcnlly / demo.html
Created January 20, 2026 00:03
Testing HTML deployment workflow with Gisthost.
<!-- Vibe-coded with Gambit v1.2 (https://bayleaf.chat/?model=gambit) -->
<!-- Q: Does the publish flow work? -->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body { margin: 0; height: 100vh; display: grid; place-items: center;
background: #1a1a2e; color: #eee; font-family: system-ui;
cursor: pointer; user-select: none; }

Unity as a JavaScript Game Engine

The Idea

What if you could write games in plain HTML/JavaScript, but with Unity's physics, particles, navigation, and audio working under the hood?

A single pre-compiled Unity WebGL build sits on a CDN. Your game is just a <script> tag. You write JavaScript that feels like Unity's API, and a bridge layer translates your calls into the real thing.

@rndmcnlly
rndmcnlly / index.html
Last active January 11, 2026 03:27
CMPM 171 W26 Interest and Experience Survey results, interactive scene summary, for some reason
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CMPM 171 Survey Infographic</title>
<style>
* {
margin: 0;
@rndmcnlly
rndmcnlly / tall-tale-prototype-sketches.html
Created January 6, 2026 00:05
Executable concept art for TALL TALE, a game about hauling away America's stuff while a sad giant tells you what it meant.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TALL TALE - Prototype Concepts</title>
<style>
* {
box-sizing: border-box;
margin: 0;