xiaohongshu
xiaohongshu
gesture-hypergestures
Gesture Hypergestures Skill
Full skill instructions
"A gesture is a continuous curve in a topological category." — Guerino Mazzola, Topos of Music III: Gestures
Trit: +1 (PLUS - generative) Color: #C42990 (from seed 137508, index 23) Foundation: Mazzola's Diamond Conjecture
Gestures are the missing link between structure (forms/denotators) and performance (physical action). This skill implements Mazzola's gesture theory from Topos of Music III.
Form (static) → Gesture (dynamic) → Performance (physical)
↓ ↓ ↓
Denotator Hypergesture Sound wave
A gesture is a continuous curve γ: [0,1] → X in a topological category:
struct Gesture{T}
domain::Interval # [0, 1] or [a, b]
target::T # Topological space
curve::Function # t → target
end
# Example: pitch gesture (glissando)
glissando = Gesture(
(0.0, 1.0),
PitchSpace,
t -> 60 + 12 * t # C4 to C5
)
A hypergesture is a gesture of gestures - a higher-order curve:
struct Hypergesture{T}
base_gestures::Vector{Gesture{T}}
interpolation::Function # Gesture × Gesture → Gesture
end
# Hypergesture: morphing between two melodic contours
melody_morph = Hypergesture(
[melody_a, melody_b],
(g1, g2, t) -> interpolate_gesture(g1, g2, t)
)
The fundamental theorem relating local to global:
H^n(Gesture) ≅ H^n(Skeleton) ⊗ H^n(Body)
Local gesture fragments glue iff cohomology obstructions vanish.
Gestures extend the Form/Denotator framework:
# Form → Gesture
NoteGestureForm = GestureForm(NoteForm)
# Denotator → Gestured Denotator
performed_note = GesturedDenotator(
note,
timing_gesture, # Micro-timing
dynamics_gesture # Expression curve
)
Sonify gesture trajectories:
function sonify_gesture(g::Gesture, seed::Int)
Gay.gay_seed!(seed)
for t in 0:0.1:1
point = g.curve(t)
color = Gay.next_color()
freq = pitch_to_freq(point)
trit = hue_to_trit(Gay.hue(color))
play_tone(freq, waveform_for_trit(trit))
end
end
Track gesture stability across filtrations:
# Gesture persistence: which contours survive simplification?
filtration = [ε for ε in 0.1:0.1:1.0]
persistence = compute_gesture_persistence(gesture_space, filtration)
# Stable gestures = robust performance features
stable_gestures = filter(g -> g.persistence > 0.5, all_gestures)
Verify gesture gluing conditions:
# Local gesture patches
left_hand = Gesture(...)
right_hand = Gesture(...)
# Check if they glue into coherent performance
H1 = compute_gesture_cohomology([left_hand, right_hand])
if H1 == 0
println("Gestures glue correctly!")
else
println("Obstruction detected: hands don't coordinate")
end
Gesture composition as net reduction:
┌──────┐ ┌──────┐
│ G1 ├─────┤ G2 │
└──┬───┘ └───┬──┘
│ │
└──────┬──────┘
│
┌────┴────┐
│ G1;G2 │ (composed gesture)
└─────────┘
Gestures as continuous star trajectories:
' Gesture as constellation with time parameter
(def gesture_star
[(+time T) (+pitch (interp P0 P1 T)) (-note N)])
' Hypergesture: nest gestures
(def hyper
[(+meta_time S)
(+gesture (gesture_star S))
(-performance P)])
Objects: Topological spaces (pitch, dynamics, timing, ...)
Morphisms: Continuous curves γ: I → X
Composition: Path concatenation (up to homotopy)
H_0(G) = Connected components of gesture space
H_1(G) = Loops in gesture space (repeating patterns)
H_n(G) = Higher-dimensional voids (complex structures)
Skeleton
↑
Body ←─── G ───→ Gesture
↓
Performance
G = Gesture object relating all three domains
# Create gesture from MIDI
just gesture-from-midi performance.mid
# Interpolate between gestures
just gesture-interpolate g1.json g2.json --steps 10
# Verify hypergesture cohomology
just gesture-h1 hypergesture.json
# Sonify gesture trajectory
just gesture-sonify contour.json --seed 137508
# Visualize gesture space
just gesture-viz --output gesture.svg
gesture-hypergestures (+1) ⊗ topos-of-music (0) ⊗ rubato-composer (-1) = 0 ✓
gesture-hypergestures (+1) ⊗ catsharp-sonification (0) ⊗ persistent-homology (-1) = 0 ✓
gesture-hypergestures (+1) ⊗ interaction-nets (0) ⊗ sheaf-cohomology (-1) = 0 ✓
# Rubato = tempo gesture
rubato = Gesture(
(0.0, 1.0),
TempoSpace,
t -> 120 * (1 + 0.1 * sin(2π * t * 4)) # Oscillating around 120 BPM
)
# Apply to note sequence
for note in score
performed_onset = apply_gesture(rubato, note.onset)
play(note.pitch, performed_onset, note.duration)
end
lib/gesture.jllib/hypergesture_homology.jllib/gesture_sonify.jl| Skill | Trit | Relationship |
|---|---|---|
| topos-of-music | 0 | Forms → Gestures |
| catsharp-sonification | 0 | Sonify trajectories |
| rubato-composer | -1 | Execute performances |
| persistent-homology | -1 | Gesture stability |
| sheaf-cohomology | -1 | Gluing verification |
Skill Name: gesture-hypergestures Type: Musical Performance Theory Trit: +1 (PLUS - GENERATOR) GF(3): Generates continuous performance curves Sonification: C#4 sine (hue 55°, warm)
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience