ZOYKUHot Board

krispuckett/murmurTài liệu kỹ thuật

Responsive AI presence orbs for SwiftUI. Metal glass shaders with states, voice and typing signals.

Mục lục (TOC) (5 phần)▾
Thông báo ngôn ngữ:Chưa có tài liệu tiếng Việt cho kho lưu trữ này. Đang hiển thị bản gốc tiếng Anh chính thức.
Cài đặt nhanh
git clone https://github.com/krispuckett/murmur.git

Murmur

Responsive AI presences for SwiftUI. Volumetric glass orbs, rendered in Metal, that work with your app.

The collection

opal droplet helix
opal droplet helix
  • 23 glass species (aura, droplet, limn, comet, nebula, prism, duet, still, fathom, arc, opal, flux, tempest, helix, geode, sol, abyss, chorus, galaxy, lava, horizon, flame, plume) plus a 48-species archive
  • 6 states: idle, listening, thinking, responding, success, error, with designed transitions
  • Live signals: level (voice) and activity (typing / token stream) move the material
  • Gyro parallax, duotone, light mode, haptics built in
  • One SwiftUI view, no assets, no videos, ~60 fps

Install

.package(url: "https://github.com/krispuckett/murmur", from: "0.1.0")

Use

import Murmur

// Chat pill
MurmurPill(MurmurConfiguration(style: .aura))

// Bare orb, any size
MurmurView(MurmurConfiguration(style: .limn), state: .thinking)
    .frame(width: 46, height: 46)

// Voice orb
MurmurView(config, state: .listening,
           signals: MurmurSignals(level: micLevel, activity: tokenRate))
  • Every dial is per state: config.states[.thinking]?.speed = 1.4
  • Colors: config.ink, config.tone, optional config.tone2 duotone
  • Configurations are Codable; save them, ship them, send them over the wire

The Lab

  • Open Lab/MurmurLab.xcodeproj, run on iPhone
  • Pick a species, drag the dials, tap states, feed it the voice demo
  • Export copies an agent-ready prompt; paste it to your coding agent
  • Still renders a 1024 px frame for icons and marketing

Agents

See AGENTS.md for drop-in instructions written for coding agents.

Requirements

  • Package: iOS 17+ / macOS 14+
  • Lab app: iOS 26+

MIT license.

Bản sao tài liệu lưu trữ từ kho lưu trữ GitHub chính thức · Xem trên GitHub
Ngày đồng bộ: 2026-11-08