Skip to content

Instantly share code, notes, and snippets.

Build a HyperFrames composition titled "Artemis II: Return to the Moon" — a cinematic 60-second explainer video (16:9, 1920x1080) visualizing NASA's Artemis II crewed lunar flyby mission (April 1–11, 2026). VISUAL IDENTITY Style: "Mission Control Cinematic" — dark deep-space canvas with precision data overlays, inspired by NASA flight dynamics consoles and cinematic space documentaries.

  • Palette: #05070D (void black), #0B1426 (deep navy), #E8EEF7 (bone white), #FF6B35 (ignition orange), #4FC3F7 (telemetry cyan), #FFD166 (lunar gold)
  • Typography: "Space Grotesk" for titles/headings, "JetBrains Mono" for
@levelsio
levelsio / 💁‍♀️ Karen Bot by @levelsio
Last active July 13, 2026 16:18
💁‍♀️ Karen Bot is an AI robot that lets you report problems in your neighborhood or city to your local city council
<?php
// Karen Bot by @levelsio
//
// ask Claude Code or Cursor to adapt it to your city
// mine is for Lisbon in Portuguese but it should work with any city and any language!
// save it as council.php and add a Nginx route /council on your server to use it
// make sure to add /council?key= and set a key below to use it privately
//
// more info: https://x.com/levelsio/status/2009011216132526407?s=20
import SwiftUI
extension HabitCard {
var barChart: some View {
Capsule()
.fill(.quaternary)
.overlay {
GeometryReader { geometry in
let height = geometry.size.height
Capsule()
@jvcleave
jvcleave / ofApp.cpp
Last active February 8, 2025 21:35
videocore fast pixel access
#pragma once
#include "ofMain.h"
#include "ofAppEGLWindow.h"
#include "user-vcsm.h"
#include "ofxOMXPlayer.h"
#include "TerminalListener.h"
class ofApp : public ofBaseApp, public KeyListener{
import processing.core.PApplet;
import processing.core.PGraphics;
import processing.core.PImage;
public class MainApp extends PApplet{
public static void main(String[] args) {
PApplet.main("MainApp");
}
@mattdesl
mattdesl / modular-three.md
Last active December 9, 2021 03:20
quick/easy ThreeJS hacking with npm

This isn't bullet-proof but here's how I've doing things lately:

modular ThreeJS quickie

  • npm install three --save
  • Include this in your browserify/webpack root script, typically your index.js:
global.THREE = require('three')
  • Add the "THREE" global to your linter (e.g. semistandard/eslintrc)
@p01
p01 / live-coding-at-SG.html
Last active November 26, 2015 22:48
Live coding at Creative Coding Singapore
<style>
#b {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle, #000, #123);
}
@outadoc
outadoc / Keolis-API.md
Last active November 15, 2024 18:27
Keolis Real-time API

Keolis "open-data" : XML Realtime API

Les données retournées sont au format XML.

Document trouvé et modifié depuis Pastebin.

Récupérer la liste des lignes

@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active July 12, 2026 03:47
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
@springmeyer
springmeyer / degress2meters.js
Last active August 22, 2024 14:22
convert from long/lat to google mercator (or EPSG:4326 to EPSG:900913)
// See https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames for more details.
var degrees2meters = function(lon,lat) {
var x = lon * 20037508.34 / 180;
var y = Math.log(Math.tan((90 + lat) * Math.PI / 360)) / (Math.PI / 180);
y = y * 20037508.34 / 180;
return [x, y]
}
x= -77.035974