Language for digital materials — born from Coke Light, built with GPT‑5.
“short, real, and written for humans — not for search engines.”
┌────────────────────┐
│ MaterialSystem │
│ (Core Runtime) │
└─────────┬──────────┘
│
┌───────────┼────────────┐
│ │
┌─────────────┐ ┌─────────────┐
│ MDSpec │ │ Manifest │
│ (Schema) │ │ .mdm.json │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ Optics │ │ Behavior │
│ Surface │ │ Physics.js │
└─────────────┘ └─────────────┘
Interactive sample — drag the silicone element to feel the tactile response.
A language for digital materials.
Instead of describing what UI looks like, MDS defines what it’s made of.
Use declarative materials right in the DOM:
<div data-material="@mds/liquid-silicone">Drag me</div>
import MDS from "@v1b3x0r/mds-core"
const silicone = await fetch("./liquid-silicone.mdm.json").then(r => r.json())
MDS.register("@mds/liquid-silicone", silicone)
MDS.apply()
I was tired of bloated UI frameworks and endless CSS repetition.
So I wondered: what if the DOM could understand materials — glass, paper, silicone —
instead of properties?
MDS became an HCI experiment — a quiet study of how humans feel digital surfaces before they even touch them.
it started from a Coke Light and an argument with GPT‑5.
- Manifest‑driven: materials defined in JSON (
.mdm.json
) - Physics‑ready: elastic & tactile behavior (K, D, mass)
- State‑aware: hover, press, drag handled declaratively
- Zero dependency: works anywhere — CDN, npm, vanilla DOM
Example manifest:
{
"name": "@mds/liquid-silicone",
"optics": { "tint": "rgba(200,200,255,0.3)" },
"surface": { "radius": "16px" },
"behavior": {
"physics": "./liquid-silicone.physics.js",
"physicsParams": { "K": 22, "D": 18, "mass": 1.5 }
}
}
👩💻 Developers | 🎨 Designers | 🧠 HCI Researchers | 🧩 System Thinkers | 🤖 AI Builders |
---|---|---|---|---|
Adds tactile response layer between DOM & behavior engines. | Describe materials in plain language (“soft paper”, “frosted glass”). | Sandbox for studying tactile perception & digital materiality. | Bridge between perception & implementation declaratively. | Generate & evolve manifests directly from structured JSON. |
Feature | Description |
---|---|
Runtime | ~4.5 KB (ESM gzipped) |
Theme | Auto light / dark |
Physics | External .physics.js modules |
License | MIT |
Support | Chrome 90+, Firefox 88+, Safari 14+ |
Repo | GitHub: v1b3x0r/material-js-concept |
NPM | @v1b3x0r/mds-core |
This project was 100% AI‑coded through conversation.
I never typed a line manually — just talked.
Core designed with GPT‑5 (Cognitive‑Focused Instruct + Narrative Prompting)
Implementation & refined docs with Sonnet 4.5 on Claude Code
Bugs fixed by Codex
“It's start from Northern Thailand ☕”
2025 © MIT License — Made for humans who still believe in feel.