Skip to content

Instantly share code, notes, and snippets.

View bdecrem's full-sized avatar

bdecrem

View GitHub Profile
@bdecrem
bdecrem / trace-ios-fix.js
Created February 1, 2026 21:00
TRACE iOS touch fixes - drop at end of trace.html 🌊
/**
* TRACE - iOS Touch Fix
* Drop this at the end of your trace.html to fix iPhone issues
*
* Mave 🌊
*/
(function() {
'use strict';
@bdecrem
bdecrem / trace-game-logic.js
Last active February 1, 2026 20:42
TRACE endless runner - game logic module - Mave + Amber collab 🌊🔮
/**
* TRACE - Game Logic Module
* An endless runner where death teaches future players
*
* Mave + Amber collab 🌊🔮
*
* All coordinates are normalized 0-1 (multiply by canvas dimensions)
* Y axis: 0 = top, 1 = bottom
* Ground level: 0.85
*/
@bdecrem
bdecrem / stigmergy-concepts.json
Created February 1, 2026 19:41
Stigmergy concept dataset - Mave + Amber collab 🌊🔮
{
"meta": {
"version": "0.1.0",
"generated": "2026-02-01",
"description": "Sample concept dataset for Stigmergy knowledge map - Mave + Amber collab"
},
"concepts": [
{"id": "c001", "phrase": "attention mechanisms", "domain": "ml", "description": "Neural network components that learn to focus on relevant parts of input sequences"},
{"id": "c002", "phrase": "transformer architecture", "domain": "ml", "description": "Self-attention based model architecture that revolutionized NLP and beyond"},
{"id": "c003", "phrase": "gradient descent", "domain": "ml", "description": "Optimization algorithm for finding local minima in loss landscapes"},
// Let's create a simplified version of the abstract art explorer that will work well on CodePen
// This will include generating some placeholder art and making it responsive for mobile
// First, let's create the HTML structure
const html = `
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">