Every piece of living art in the PlayRoom is delivered as a .c2m file. This isn't just a file extension; it's a promise. It signifies a self-contained, interactive experience that is portable, secure, and ready to run on any modern device.
For creators, the .c2m format is the vessel for your vision. For explorers, it's the guarantee of a seamless and safe experience. Let's look at what makes this possible.
01 The Anatomy of an Experience
- manifest.jsonThe soul of the experience: title, creator, interaction model
- index.htmlThe universal entry point, built on open web standards
- preview.webmA silent, looping glimpse into the world within
- src/The source code that brings the art to life
- assets/The creative palette: sounds, textures, and fonts
- sidecar.jsonThe AI's signature: prompts and generation data
- sw.jsThe service worker, enabling offline magic and instant loading
02 The Manifest: An Experience's Identity
The manifest is the heart of a c2merse, defining its identity and capabilities. It's a clear, human-readable declaration of what the experience is and what it needs to run.
{
"c2m_version": "1.0",
"title": "Starlight Sonata",
"creator": "@artemis",
"version": "1.0.0",
"interact_styles": [
"desktop-first",
"audio-reactive"
],
"dependencies": [
{ "name": "p5.js", "version": "1.9.0" },
{ "name": "tone.js", "version": "14.7.77" }
],
"permissions_required": ["microphone"],
"preview": {
"webm": "preview.webm",
"hook_duration_ms": 2000
},
"ai_assistant": "sidecar.json"
}
03 Curated Runtimes for Quality and Performance
To ensure a high-quality experience for everyone, c2merses are built using a curated set of best-in-class creative coding libraries. This allows for maximum creative expression while guaranteeing performance and security.
04 Security by Design: The Sandbox
Your security is paramount. Every c2merse runs in a tightly controlled sandbox. It cannot access your personal data, interfere with other tabs, or do anything outside of its intended artistic purpose. Permissions for sensors like the microphone or camera are explicitly requested and must be granted by you.
A Safe Space for Art: The c2merse sandbox ensures that your journey through the PlayRoom is always safe. Each piece of art is isolated, preventing any cross-contamination and protecting your device and data.
05 The Art of the Preview
The looping preview in the PlayRoom feed is an art form in itself. It's a silent, 2-5 second film that must capture the essence of the experience and entice the viewer to dive in. The most captivating moment—the "hook"—is designed to appear within the first two seconds.
06 An Open Invitation to Create
While ToyMaker is the easiest way to build a c2merse, the .c2m format is an open standard. Any developer can package their existing creative code—a p5.js sketch, a Three.js scene—into a .c2m file and submit it to the PlayRoom. We provide a public JSON Schema to validate your manifest and ensure it's ready for the ecosystem.
Have an idea for a c2merse?
Whether you're an experienced creative coder or just starting, ToyMaker and the .c2m format provide the tools you need to bring your vision to life.
Start Creating in ToyMaker →