scode.it.com

Spatial Operating System — Plugin SDK
Generate
AI-powered 360° environments from text or image
📺
YouTube Globe
Embed videos into curved sphere walls with live playback
🎞
Sphere Theater
Watch from outside — same videos, exterior view
🔧
3D Forge
Generate volumetric 3D objects and place them in space
Drag to orbit • WASD to walk • Scroll to zoom • Double-click to expand
Generating...
FPS --
Frame -- ms
Mem -- MB
Draw --

Standing Wave SOS — Help

What is Standing Wave SOS?

A spatial computing environment where you explore AI-generated 360° worlds inside a 4D mathematical surface called a Glomeme — an oblate spheroid made of 8 curved domains connected by 12 mathematical seams.

Getting Started

  • Look around: Click the 3D view, then move your mouse
  • Walk: WASD keys to move, Space to go up, Shift to go down
  • Switch views: Tab / Shift+Tab cycles through 6 view modes
  • Switch worlds: N / Shift+N cycles through AI-generated worlds
  • Generate a world: Type a prompt in the text box and click Generate
  • Toggle help: Press ? at any time

View Modes

11D Line Projection
2Exploded Branch Cuts
34D Holographic Depth Map (walkable)
4Isolated Inspection (shard switching)
5Continuous Reality (walkable)
6Hemisphere Split

Movement

WASDMove (ground or fly mode)
SpaceMove up
ShiftMove down
FToggle ground/fly mode
Right-click dragRotate sphere manually

All Keyboard Shortcuts

Tab / Shift+TabCycle view modes
N / Shift+NCycle worlds
HToggle holographic overlay
Shift+HCycle holographic display mode
CToggle conformal lattice
LToggle pole axis
GToggle spatial grid
4Toggle 4D PiP panel
] / [Drill in/out (D4 depth)
Arrow keysNavigate grid cells (when grid active)
XPlace wormhole endpoint (when grid active)
DExit 360° dome video playback
JToggle auto-adjust spheroid (scales with FOV)
YToggle invert mouse Y axis
PToggle performance HUD
`Toggle Quake 2 console (command terminal)
Click canvasEnable pointer lock (FPS mouse look)
EscapeExit pointer lock / dismiss portal
?Toggle this help

Console (Quake 2 Terminal)

Press ` (backtick) to open/close. Tab autocompletes commands. ↑↓ navigates history. Type help <topic> for detailed help on any category.

Navigation
posCamera position (x y z)
dirCamera look direction vector
rotCamera rotation (Euler angles in degrees)
teleport <x> <y> <z>Jump camera to world coordinates
lookat <x> <y> <z>Orient camera to face a point
resetReturn camera to spawn origin
speed <0.01-2>Set walk/fly speed (default 0.08)
ground / flyToggle movement mode
invertToggle mouse Y axis inversion
contextShow interior/exterior camera context
View & Render
mode <1-6>Switch view mode
fov <30-150>Set camera field of view
width / height <n>Set spheroid X/Z or Y scale (0.2–3.0)
radius <1-8>Set globe/collision radius
wireframeToggle glomeme wireframe
freezeToggle scene frozen
seamlessToggle seamless stitching
qualityToggle high-quality render
collisionToggle collision detection
pixelratio [n]Get/set device pixel ratio
autorotate [n]Get/set accumulated auto-rotation (radians)
manualrot [n]Get/set manual sphere rotation
shareCopy shareable URL to clipboard
Overlays
latticeToggle conformal lattice overlay
hologramToggle holographic overlay
holomodeCycle holographic display mode
wormholesToggle wormhole portals
gridToggle spatial grid
exteriorToggle exterior sky/floor environment
compassToggle compass HUD visibility
rigidity <0-1>Set lattice liquid↔crystal rigidity
poleToggle pole axis line
World & Content
worldsList all available default worlds
world <id>Load a default world by ID
generate <prompt>AI-generate a world from text
genhere [extra]AI-generate themed to current spatial address
autogen [on|off]Auto-generate on cell select
paint [prompt]Open live texture paint panel (or Shift+right-click)
clearsceneClear current scene textures
shard [next|prev|n]Navigate world shards
video <url>Play direct video as 360° dome
demo <id>Start a demo tour (list: demo list)
demo historyShow generated image filmstrip
Spatial
addrCurrent spatial address and depth
depthCurrent D4 depth
zoom [cache|clear]D4 zoom status / cache / flush
dome spawn [label]Spawn portal orb — walk in to enter
dome backReturn to parent universe
dome listBreadcrumbs and orb count
dome clearRemove all portal orbs
nav [cancel]Navigation animation status / cancel
Auth & Session
whoamiShow stored server / email / access key
tokensFetch current token balance from server
server <url>Set server URL (saved to settings)
provider [name]Get/set AI provider (google/openrouter/openai)
logout / q / quitClear all credentials and reload
Console & Scripting
help [topic]13 topics + help all for summary
bind <key> <cmd>Bind keyboard shortcut → command (persisted)
unbind <key>Remove a keybinding
bindsList all active keybindings
alias <name> <cmd>Create command alias
aliasesList all active aliases
exec <cmd;cmd>Run multiple commands (;-separated)
set / get <key>Read/write engine state variables
statekeysList all engine state keys with values
plugins / eventsPlugin list / recent event history
clear / echoClear output / print text
Debug & Testing
statsFull engine/renderer/camera/WebGL/spatial stats
stateDump full engine state as JSON
statekeysAll state keys with current values
logstatePrint state + renderer to browser DevTools
versionBuild info + full plugin list
fpsToggle performance HUD (P)
drawcallsWebGL draw calls this frame
trianglesTriangle count in scene
texturesGPU texture + geometry counts
memoryWebGL + JS heap memory stats
objectsScene object counts by type
rendererFull DualRenderer dump + WebGL capabilities
testprogressSimulate progress bar animation
screenshotDownload canvas as PNG
fullscreenToggle browser fullscreen
beepAudio context test tone (440Hz)

History and keybindings persist in localStorage. q → Tab → Enter = fastest logout.

Demo Tours

Automated AI-generated tours cycle through curated environments. Click the Demo button or use the console:

cosmicCosmic Dreams — otherworldly vistas
edu-zoomEducation Scale Zoom — solar system to ATP synthase
dreamscapeDreamscape — surreal and fractal worlds
natureNatural Wonders — hurricanes, reefs, storms
scifiSci-Fi Universe — Dyson spheres, cyberpunk
artArt Styles — Van Gogh, Hokusai, watercolor

Press Space during a tour to pause/resume. Generated images are saved in history — type demo history to browse the filmstrip.

Compass & Progress HUD

  • Compass: Fixed top-right canvas showing azimuth (degrees) and elevation bar. The cyan needle always points North.
  • Progress HUD: Animated top-center bar appears automatically during AI generation or any long-running operation.

Live Texture Paint

  • Shift + Right-click on the 3D canvas → opens a floating prompt panel to AI-paint a new 360° environment in place.
  • 🎲 Lucky button inside the panel picks a random curated prompt.
  • Console: paint [prompt] — open the panel pre-filled with an optional prompt.

Spatial Generation

  • genhere — AI-generates a world environment themed to your current spatial address and depth (cosmic scale at ROOT, city scale at depth 3, quantum at depth 5+).
  • autogen on — enables auto-generation whenever you click a different grid cell (G to open grid).

D4 Zoom (LRU-Cached)

  • Drilling into a grid cell (] or double-click) auto-generates AI textures for all 16 sub-cells at that depth.
  • Generated textures are cached (128-slot LRU) — drilling back and forth is instant.
  • zoom cache — show cache usage. zoom clear — flush cache.

Nested Domes (Portal Orbs)

  • dome spawn [label] — creates a pulsing portal orb 1.5m in front of the camera. Walk into it to enter a nested pocket universe.
  • dome back — return to the parent universe. Navigation breadcrumbs track your depth.
  • dome list — show current path (Root → Pocket #1 → …) and orb count.
  • Uses stencil-buffered rendering — each pocket universe is "bigger on the inside."

Toolbar Buttons

Each button toggles a feature. Active buttons are highlighted. Hover for tooltips.

Sliders

FOV (30–150)Camera field of view
Width / Height (0.2–3.0)Spheroid shape
Radius (1–8)Globe size and collision boundary
Rigidity (L↔C, 0–1)Lattice liquid↔crystal state
Rotation (0–360)Object rotation during placement

Singularity Portals (Wormholes)

Wormholes are singularities — dimensional shift points where the lattice mesh warps into convergence funnels. The conformal lattice itself deforms toward each singularity, visualizing spacetime curvature.

  • Address Teleport: Enable grid (G), navigate to a cell, press X for endpoint A, navigate to another cell, press X again to link. Walk into a singularity to teleport.
  • Boundary Portal: Singularities at the north and south poles. Walking through transitions between interior (inside the globe) and exterior (orbiting outside) views — even with collision enabled.

Annotations

Right-click any grid cell to open the annotation panel. Add threaded comments with timestamps and color coding. Annotations are saved locally and can be shared via URL.

YouTube Portals

Paste a YouTube URL in the input box and click Add. Portals appear as curved video walls on the sphere surface. Click to pop out, click again to pin back to the wall.

360° Dome Video

Play videos as an immersive dome screen inside the sphere. Two modes:

  • YouTube Dome: Check the “360° Dome” toggle in the YouTube bar, paste a URL, and click Add. The video fills the interior as a large screen that tracks your view.
  • Direct Video: Click the dome video button (🎞) and paste a direct video URL (mp4/webm). Uses equirectangular projection on a true 360° sphere.
  • Floor Shadow + Reflection: When a direct video is active, a shadow disc and a mirrored water-reflection automatically appear on the floor below the globe. Switch to Exterior mode (mode 10) to see them.
  • Exit: Press D or click the dome button again to stop dome playback. Shadow and reflection are removed automatically.

Holographic Overlay

Implements holographic duality: the 2D sphere surface encodes 3D+ volumetric data via frequency-domain (DFT) projection. Toggle with H, cycle display modes with Shift+H:

  • Interference: Cyan/magenta wave patterns from golden-ratio-distributed sources
  • Phase Map: HSV color wheel showing phase angles
  • Duality: Cyan (boundary) vs gold (bulk) projection visualization

Spatial address changes feed frequency signatures into the overlay — drilling deeper generates higher octaves (2depth).

Conformal Lattice

FCC (face-centered cubic) node network projected onto the Glomeme surface. The rigidity slider controls a continuous liquid↔crystal transition:

  • Liquid (0): Nodes drift with sinusoidal noise, world rotates freely
  • Crystal (1): Nodes snap to exact positions, world freezes in place

Spatial Addressing (D1–D4)

Every point on the sphere has a hierarchical address:

  • D1: Column (linear index)
  • D2: Cell in 4×4 grid (col, row)
  • D3: Volumetric/spherical sector
  • D4: Subdivision depth — drilling into a cell goes deeper

Addresses are toroidal (wrap around edges) and infinitely subdivisible. Use G to show the grid, arrow keys to navigate, ]/[ to drill in/out.

AI World Generation

Supports Google Gemini, OpenAI, and OpenRouter providers. Configure in Settings. Worlds can be generated from text prompts, and new prompts can be woven into existing environments additively.

When a Server URL is configured, all AI requests are routed through the server proxy — your API key stays server-side and is never exposed to the browser.

Account & Tokens

Register with the server to get an access key and free tokens for AI generation:

  • Register / Connect: Open Settings (⚙), enter your Server URL and email, then click Register / Connect. You receive 1,000 free tokens and a personal access key.
  • Access Key: Your unique authentication token. Displayed after registration with a copy-to-clipboard button. Save it — it's needed to reconnect from other devices.
  • Token Balance: Shown in the Connection group. Click ↻ to refresh from the server. Tokens are consumed per AI request: text-to-image costs 5 tokens, image-to-image 8, chat 1, forge 3.
  • Own API Key: Store your own provider key (OpenRouter, Google, OpenAI) on the server via the Your Provider API Key section. When set, token billing is completely bypassed — you use your own quota directly.
  • Usage History: The Usage History section shows your last 20 API calls with timestamps, request type, model, and token cost. Click Refresh to update.

3D Forge & Object Placement

Generate 3D objects from text descriptions and place them in the scene. Use the rotation slider to orient objects before pinning them to the dome surface.

Exterior Environment (Floor + Sky Dome)

A dome-within-half-dome: the Glomeme sphere sits inside a sky hemisphere and floor plane. Toggle with the globe button in the toolbar. Visible automatically in exterior mode (mode 10).

  • Sky Dome: Upper hemisphere that receives AI-generated textures or video projection
  • Floor Plane: Flat ground surface with subtle grid lines for depth reference
  • Video Projection: Click the film button to project a video URL onto the sky dome or floor

Auto-Adjust Spheroid (J)

When enabled, the spheroid width and height automatically scale based on your FOV setting to maintain consistent viewing angles. This prevents texture distortion when changing the field of view.

Glossary

Glomeme
A 4D oblate spheroid composed of 8 curved mathematical domains connected by 12 Riemann branch cuts. The fundamental spatial container of Standing Wave SOS.
Riemann Branch Cut
A mathematical seam connecting adjacent domains on the Glomeme surface. Enables continuous wrapping of the topology.
Spatial Address
A hierarchical coordinate (e.g., “1,2.3,0”) describing a point on the Glomeme. Each segment represents a deeper subdivision level.
D1–D4
Dimension levels: D1=column, D2=grid cell, D3=volume sector, D4=subdivision depth. Higher D4 = more detail.
Conformal Lattice
A face-centered cubic (FCC) node network on the sphere surface with adjustable rigidity between liquid (flowing) and crystal (frozen) states.
Holographic Duality
The principle that information on a 2D boundary encodes the full content of the 3D+ volume it encloses. Implemented via DFT (Discrete Fourier Transform) projection.
Singularity / Wormhole
A convergence point where the conformal lattice warps into a funnel (inverse-square gravitational well). Address-teleport singularities link two map locations; boundary-portal singularities at the poles transition inside↔outside.
Pointal Barrier
The sphere surface itself, acting as a dimensional boundary. Boundary portals at the north and south poles allow passage through this barrier, even with collision detection enabled.
Gödel Address
Prime factorization of a spatial cell. Each cell maps to a unique product of primes; drilling deeper multiplies by the next prime. Enables mathematical wormhole transforms via ratio matrices.
Boundary Cross
The event of walking through a pole singularity to transition between interior (first-person walkable) and exterior (orbiting) camera modes.
Annotation
A threaded comment attached to a grid cell. Right-click to open the panel. Annotations can be shared via URL and are stored locally.

Standing Wave SOS v1.0.0 — Spatial Plugin SDK

Press ? to close

Assembled Space1D Line Projection
The 20 ShardsRiemann Branch Cuts
scode.it.com
Continuous Reality Projection
Place Object
pos
Rotate
Distance
Scale
WASD to walk • Space/Shift up/down • Tab to switch views • ? for help
manifesting reality projection...

Settings

Connection
tokens remaining  
Not connected
Your Provider API Key

Store your own key on the server to bypass token billing. Your key is encrypted at rest and never returned to the client.

Usage History
No usage data loaded. Click Refresh.
AI Provider
Endpoint: https://generativelanguage.googleapis.com/v1beta
Diagnostics
No tests run yet. Click "Test API Connection" above.
Standing Wave SOS v1.0.0 — Spatial Plugin SDK