Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

21.0 KB
Raw Blame
<!doctype html>
<html lang="en">
	<head>
		<style>/* three.ws hidden-guard — make the `hidden` attribute authoritative; see scripts/lib/hidden-guard.mjs */[hidden]{display:none!important}</style>
		<script>/* three.ws theme boot — no-flash; runtime in /theme-switcher.js */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<title data-i18n="worlds.meta_title">Worlds · Coin Communities — three.ws</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
		<meta name="author" content="three.ws" />
		<meta
			name="description"
			content="Every coin is its own 3D world. Drop in your avatar or 3D agent — no sign-in — and hang out with the community, live and multiplayer, on three.ws."
		 data-i18n-attr="content:worlds.meta_description"/>
		<meta name="theme-color" content="#0b0b0b" />
		<link rel="icon" href="/favicon.ico" sizes="any" />
		<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
		<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
		<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
		<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
		<link rel="manifest" href="/manifest.webmanifest" />
		<link rel="stylesheet" href="/fonts/fonts.css" />

		<meta property="og:type" content="website" />
		<meta property="og:site_name" content="three.ws" />
		<meta property="og:title" content="Worlds · Coin Communities — three.ws"  data-i18n-attr="content:worlds.meta_og_title"/>
		<meta
			property="og:description"
			content="Every coin is its own 3D world. Drop in your avatar and hang out with the community, live."
		 data-i18n-attr="content:worlds.meta_og_description"/>
		<meta property="og:url" content="https://three.ws/worlds" />
		<meta name="twitter:card" content="summary_large_image" />
		<meta property="og:image" content="https://three.ws/og-image.png" />
		<meta property="og:image:width" content="1200" />
		<meta property="og:image:height" content="630" />
		<meta name="twitter:site" content="@trythreews" />
		<meta name="twitter:title" content="Worlds · Coin Communities — three.ws"  data-i18n-attr="content:worlds.meta_twitter_title"/>
		<meta
			name="twitter:description"
			content="Explore 3D worlds built around coin communities on three.ws."
		 data-i18n-attr="content:worlds.meta_twitter_description"/>
		<meta name="twitter:image" content="https://three.ws/og-image.png" />

		<!-- model-viewer powers the live avatar preview in the onboarding panel. -->
		<script
			type="module"
			src="https://cdn.jsdelivr.net/npm/@google/[email protected]/dist/model-viewer.min.js"
			integrity="sha384-wjsPzEO+lXOf7d9csIDfAQpPt2OKuUU3m0K9qsdKIuzX4N8czSF6hdh23eAbZa3p"
			crossorigin="anonymous"
		></script>

		<style>
			:root {
				--bg: #080808;
				--bg-2: #0e0e0e;
				--panel: #121212;
				--panel-2: #161616;
				--border: rgba(255, 255, 255, 0.08);
				--border-strong: rgba(255, 255, 255, 0.18);
				--text: #fafafa;
				--text-2: #a1a1aa;
				--text-3: #71717a;
				--accent: #22d3ee;
				--accent-2: #ffffff;
				--danger: #f87171;
				--ok: var(--success, #4ade80);
			}
			* {
				box-sizing: border-box;
			}
			html,
			body {
				margin: 0;
				padding: 0;
				min-height: 100%;
				background:
					radial-gradient(
						1200px 600px at 70% -10%,
						rgba(129, 140, 248, 0.14),
						transparent 60%
					),
					radial-gradient(
						900px 500px at 10% 0%,
						rgba(34, 211, 238, 0.1),
						transparent 55%
					),
					var(--bg);
				color: var(--text);
				font-family:
					'Inter',
					system-ui,
					-apple-system,
					sans-serif;
				-webkit-font-smoothing: antialiased;
			}
			a {
				color: inherit;
			}

			.wl-shell {
				max-width: 1200px;
				margin: 0 auto;
				padding: 28px 20px 80px;
			}

			/* ── Top bar ─────────────────────────────────────────── */
			.wl-top {
				display: flex;
				align-items: center;
				gap: 12px;
				margin-bottom: 26px;
			}
			.wl-brand {
				display: flex;
				align-items: baseline;
				gap: 8px;
				font-weight: 700;
				font-size: 15px;
				letter-spacing: 0.01em;
			}
			.wl-brand a {
				color: var(--text);
				text-decoration: none;
			}
			.wl-brand span {
				color: var(--text-3);
				font-weight: 500;
			}
			.wl-top-spacer {
				flex: 1;
			}
			.wl-top-link {
				color: var(--text-2);
				text-decoration: none;
				font-size: 13px;
				padding: 7px 12px;
				border-radius: 999px;
				border: 1px solid var(--border);
				transition:
					color 0.12s ease,
					border-color 0.12s ease,
					background 0.12s ease;
			}
			.wl-top-link:hover {
				color: var(--text);
				border-color: var(--border-strong);
				background: rgba(255, 255, 255, 0.04);
			}

			/* ── Hero ────────────────────────────────────────────── */
			.wl-hero {
				margin-bottom: 28px;
			}
			.wl-hero h1 {
				margin: 0 0 10px;
				font-size: clamp(28px, 5vw, 46px);
				line-height: 1.05;
				letter-spacing: -0.02em;
				font-weight: 800;
			}
			.wl-hero h1 .grad {
				background: linear-gradient(90deg, var(--accent), var(--accent-2));
				-webkit-background-clip: text;
				background-clip: text;
				color: transparent;
			}
			.wl-hero p {
				margin: 0;
				color: var(--text-2);
				font-size: clamp(14px, 2vw, 17px);
				max-width: 640px;
				line-height: 1.5;
			}

			.wl-layout {
				display: grid;
				grid-template-columns: 340px 1fr;
				gap: 22px;
				align-items: start;
			}

			/* ── Onboarding panel ────────────────────────────────── */
			.wl-panel {
				background: linear-gradient(180deg, var(--panel), var(--bg-2));
				border: 1px solid var(--border);
				border-radius: 18px;
				padding: 18px;
				position: sticky;
				top: 20px;
			}
			.wl-panel h2 {
				margin: 0 0 4px;
				font-size: 13px;
				font-weight: 700;
				letter-spacing: 0.04em;
				text-transform: uppercase;
				color: var(--text-3);
			}
			.wl-panel .wl-hint {
				margin: 0 0 14px;
				color: var(--text-3);
				font-size: 12.5px;
				line-height: 1.5;
			}

			.wl-avatar {
				display: grid;
				grid-template-columns: 92px 1fr;
				gap: 14px;
				align-items: center;
				margin-bottom: 14px;
			}
			.wl-avatar-preview {
				width: 92px;
				height: 110px;
				border-radius: 14px;
				overflow: hidden;
				background:
					radial-gradient(
						120px 80px at 50% 20%,
						rgba(129, 140, 248, 0.18),
						transparent 70%
					),
					var(--panel-2);
				border: 1px solid var(--border);
				display: flex;
				align-items: center;
				justify-content: center;
			}
			.wl-avatar-preview img {
				width: 100%;
				height: 100%;
				object-fit: cover;
			}
			.wl-avatar-ph {
				width: 46px;
				height: 46px;
				color: var(--text-3);
			}
			.wl-avatar-ph svg {
				width: 100%;
				height: 100%;
			}
			.wl-avatar-name {
				font-weight: 650;
				font-size: 16px;
			}
			.wl-avatar-sub {
				color: var(--text-3);
				font-size: 12px;
				margin-top: 2px;
			}

			.wl-quick {
				display: grid;
				grid-template-columns: 1fr 1fr;
				gap: 8px;
				margin-bottom: 12px;
			}
			.wl-quick-btn {
				appearance: none;
				display: inline-flex;
				align-items: center;
				gap: 8px;
				border: 1px solid var(--border);
				background: var(--panel-2);
				color: var(--text-2);
				font: inherit;
				font-size: 13px;
				padding: 9px 11px;
				border-radius: 10px;
				cursor: pointer;
				transition:
					border-color 0.12s ease,
					color 0.12s ease,
					background 0.12s ease;
			}
			.wl-quick-btn:hover {
				color: var(--text);
				border-color: var(--border-strong);
				background: rgba(255, 255, 255, 0.04);
			}
			.wl-quick-btn.is-on {
				border-color: var(--accent);
				color: var(--text);
				box-shadow: 0 0 0 1px var(--accent) inset;
			}
			.wl-quick-btn:disabled {
				opacity: 0.5;
				cursor: wait;
			}
			.wl-quick-dot {
				width: 8px;
				height: 8px;
				border-radius: 50%;
				background: linear-gradient(135deg, var(--accent), var(--accent-2));
				flex: none;
			}

			.wl-or {
				display: flex;
				align-items: center;
				gap: 10px;
				color: var(--text-3);
				font-size: 11px;
				margin: 12px 0;
			}
			.wl-or::before,
			.wl-or::after {
				content: '';
				height: 1px;
				background: var(--border);
				flex: 1;
			}

			.wl-input {
				width: 100%;
				background: var(--panel-2);
				color: var(--text);
				border: 1px solid var(--border);
				border-radius: 10px;
				padding: 10px 12px;
				font: inherit;
				font-size: 13px;
				transition:
					border-color 0.12s ease,
					background 0.12s ease;
			}
			.wl-input::placeholder {
				color: var(--text-3);
			}
			.wl-input:focus {
				outline: none;
				border-color: var(--accent);
				background: rgba(255, 255, 255, 0.05);
			}

			.wl-id-form {
				display: grid;
				grid-template-columns: 1fr auto;
				gap: 8px;
				margin-bottom: 10px;
			}
			.wl-field {
				margin-bottom: 12px;
			}
			.wl-field label {
				display: block;
				font-size: 11px;
				color: var(--text-3);
				margin-bottom: 5px;
				letter-spacing: 0.03em;
				text-transform: uppercase;
			}

			.wl-btn {
				appearance: none;
				border: 1px solid var(--border-strong);
				background: var(--panel-2);
				color: var(--text);
				font: inherit;
				font-size: 13px;
				font-weight: 600;
				padding: 10px 14px;
				border-radius: 10px;
				cursor: pointer;
				transition:
					background 0.12s ease,
					border-color 0.12s ease,
					transform 0.08s ease;
			}
			.wl-btn:hover {
				background: rgba(255, 255, 255, 0.07);
			}
			.wl-btn:active {
				transform: translateY(1px);
			}
			.wl-btn:disabled {
				opacity: 0.5;
				cursor: wait;
			}
			.wl-btn-primary {
				border: none;
				background: linear-gradient(135deg, var(--accent), var(--accent-2));
				color: #0e0e0e;
				font-weight: 700;
			}
			.wl-btn-primary:hover {
				filter: brightness(1.08);
			}
			.wl-btn-block {
				width: 100%;
			}
			.wl-btn-ghost {
				background: transparent;
			}

			.wl-panel-actions {
				display: grid;
				gap: 8px;
				margin-top: 6px;
			}
			.wl-create-link {
				text-align: center;
				color: var(--text-3);
				font-size: 12px;
				text-decoration: none;
				padding: 4px;
			}
			.wl-create-link:hover {
				color: var(--text-2);
			}

			/* ── Worlds column ───────────────────────────────────── */
			.wl-worlds-head {
				display: flex;
				align-items: center;
				gap: 12px;
				margin-bottom: 14px;
			}
			.wl-worlds-head h2 {
				margin: 0;
				font-size: 18px;
				font-weight: 700;
			}
			.wl-worlds-count {
				color: var(--text-3);
				font-size: 13px;
			}
			.wl-worlds-head .wl-top-spacer {
				flex: 1;
			}
			.wl-search {
				width: 220px;
				max-width: 50vw;
				background: var(--panel-2);
				color: var(--text);
				border: 1px solid var(--border);
				border-radius: 999px;
				padding: 8px 14px;
				font: inherit;
				font-size: 13px;
			}
			.wl-search:focus {
				outline: none;
				border-color: var(--border-strong);
			}

			.wl-tabs {
				display: flex;
				gap: 8px;
				margin-bottom: 14px;
			}
			.wl-tab {
				appearance: none;
				background: var(--panel-2);
				color: var(--text-3);
				border: 1px solid var(--border);
				border-radius: 999px;
				padding: 6px 14px;
				font: inherit;
				font-size: 12.5px;
				font-weight: 600;
				cursor: pointer;
				transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
			}
			.wl-tab:hover {
				color: var(--text);
				border-color: var(--border-strong);
			}
			.wl-tab:focus-visible {
				outline: 2px solid var(--accent, #4ea8ff);
				outline-offset: 2px;
			}
			.wl-tab.is-active {
				color: var(--bg);
				background: var(--text);
				border-color: var(--text);
			}

			.wl-grid {
				display: grid;
				grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
				gap: 14px;
			}
			.wl-card {
				appearance: none;
				text-align: left;
				padding: 0;
				border: 1px solid var(--border);
				background: var(--panel);
				border-radius: 16px;
				overflow: hidden;
				cursor: pointer;
				color: var(--text);
				display: flex;
				flex-direction: column;
				transition:
					transform 0.14s ease,
					border-color 0.14s ease,
					box-shadow 0.14s ease;
			}
			.wl-card:hover {
				transform: translateY(-3px);
				border-color: var(--border-strong);
				box-shadow: 0 14px 40px -20px rgba(34, 211, 238, 0.5);
			}
			.wl-card:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.wl-card-art {
				position: relative;
				aspect-ratio: 1 / 1;
				background: linear-gradient(135deg, #1b1b1b, #0e0e0e);
				display: flex;
				align-items: center;
				justify-content: center;
			}
			.wl-card-art img {
				width: 100%;
				height: 100%;
				object-fit: cover;
			}
			.wl-card-art-ph {
				font-weight: 800;
				font-size: 26px;
				letter-spacing: -0.02em;
				color: var(--text-3);
				text-transform: uppercase;
			}
			.wl-card-live {
				position: absolute;
				top: 8px;
				left: 8px;
				display: inline-flex;
				align-items: center;
				gap: 5px;
				background: rgba(0, 0, 0, 0.6);
				border: 1px solid var(--border);
				border-radius: 999px;
				padding: 3px 8px;
				font-size: 10.5px;
				color: var(--text-2);
				backdrop-filter: blur(6px);
			}
			.wl-live-dot {
				width: 6px;
				height: 6px;
				border-radius: 50%;
				background: var(--ok);
				box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
				animation: wl-pulse 2s infinite;
			}
			.wl-card-chain {
				position: absolute;
				top: 8px;
				right: 8px;
				background: rgba(10, 36, 25, 0.75);
				border: 1px solid #2ecf85;
				color: #2ecf85;
				border-radius: 999px;
				padding: 3px 7px;
				font-size: 9.5px;
				font-weight: 800;
				letter-spacing: 0.04em;
				backdrop-filter: blur(6px);
			}
			@keyframes wl-pulse {
				0% {
					box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
				}
				70% {
					box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
				}
				100% {
					box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
				}
			}
			.wl-card-body {
				padding: 11px 12px 6px;
			}
			.wl-card-sym {
				font-weight: 700;
				font-size: 15px;
			}
			.wl-card-stats {
				display: flex;
				gap: 12px;
				margin-top: 7px;
				color: var(--text-3);
				font-size: 12px;
			}
			.wl-stat {
				display: inline-flex;
				align-items: center;
				gap: 4px;
			}
			.wl-stat-i {
				width: 13px;
				height: 13px;
				display: inline-flex;
			}
			.wl-stat-i svg {
				width: 100%;
				height: 100%;
			}
			.wl-card-enter {
				padding: 8px 12px 12px;
				color: var(--accent);
				font-size: 12.5px;
				font-weight: 600;
				opacity: 0;
				transform: translateX(-4px);
				transition:
					opacity 0.14s ease,
					transform 0.14s ease;
			}
			.wl-card:hover .wl-card-enter {
				opacity: 1;
				transform: none;
			}

			/* skeletons */
			.wl-skel {
				pointer-events: none;
				height: 248px;
				background: linear-gradient(
					100deg,
					var(--panel) 30%,
					var(--panel-2) 50%,
					var(--panel) 70%
				);
				background-size: 200% 100%;
				animation: wl-shimmer 1.3s infinite;
			}
			@keyframes wl-shimmer {
				0% {
					background-position: 200% 0;
				}
				100% {
					background-position: -200% 0;
				}
			}

			.wl-empty {
				grid-column: 1 / -1;
				text-align: center;
				padding: 48px 20px;
				border: 1px dashed var(--border);
				border-radius: 16px;
				background: rgba(255, 255, 255, 0.015);
			}
			.wl-empty-icon {
				width: 44px;
				height: 44px;
				margin: 0 auto 14px;
				color: var(--text-3);
			}
			.wl-empty-icon svg {
				width: 100%;
				height: 100%;
			}
			.wl-empty h3 {
				margin: 0 0 8px;
				font-size: 18px;
			}
			.wl-empty p {
				margin: 0 auto 18px;
				color: var(--text-2);
				max-width: 440px;
				font-size: 14px;
				line-height: 1.5;
			}

			.wl-mint-form {
				grid-column: 1 / -1;
				display: flex;
				gap: 8px;
				margin-top: 6px;
				max-width: 520px;
				margin-left: auto;
				margin-right: auto;
			}
			.wl-mint-form .wl-input {
				flex: 1;
			}

			/* toast */
			.wl-toast {
				position: fixed;
				left: 50%;
				bottom: 26px;
				transform: translate(-50%, 20px);
				background: rgba(10, 10, 14, 0.92);
				border: 1px solid var(--border-strong);
				color: var(--text);
				padding: 10px 16px;
				border-radius: 999px;
				font-size: 13px;
				opacity: 0;
				pointer-events: none;
				transition:
					opacity 0.2s ease,
					transform 0.2s ease;
				backdrop-filter: blur(10px);
				z-index: 50;
			}
			.wl-toast.show {
				opacity: 1;
				transform: translate(-50%, 0);
			}
			.wl-toast[data-kind='error'] {
				border-color: rgba(248, 113, 113, 0.5);
				color: #fecaca;
			}
			.wl-toast[data-kind='ok'] {
				border-color: rgba(74, 222, 128, 0.5);
				color: #bbf7d0;
			}

			@media (max-width: 820px) {
				.wl-layout {
					grid-template-columns: 1fr;
				}
				.wl-panel {
					position: static;
				}
			}
		</style>
		<script src="/model-viewer-meshopt.js"></script>
	</head>
	<body>
		<div class="wl-shell">
			<div class="wl-top">
				<div class="wl-brand">
					<a href="/" data-i18n="worlds.three_ws">three.ws</a>
					<span data-i18n="worlds.worlds">/ worlds</span>
				</div>
				<span class="wl-top-spacer"></span>
				<a class="wl-top-link" href="/temporary" data-i18n="worlds.open_mainland">Open mainland</a>
				<a class="wl-top-link" href="/create" data-i18n="worlds.make_an_avatar">Make an avatar</a>
			</div>

			<header class="wl-hero">
				<h1 data-i18n-html="worlds.every_coin_is_a_world">Every coin is a <span class="grad">world</span>.</h1>
				<p data-i18n="worlds.drop_in_your_avatar_or_3d_agent">
					Drop in your avatar or 3D agent — no sign-in — and hang out with the community
					inside its own live, multiplayer 3D world.
				</p>
			</header>

			<div class="wl-layout">
				<!-- ONBOARDING -->
				<aside class="wl-panel">
					<h2 data-i18n="worlds.your_avatar">Your avatar</h2>
					<p class="wl-hint" data-i18n="worlds.pick_one_to_drop_in_we_ll">Pick one to drop in. We’ll remember it.</p>

					<div class="wl-avatar" id="wl-avatar"></div>

					<div class="wl-quick" id="wl-quick"></div>

					<button type="button" id="wl-browse" class="wl-btn wl-btn-block" data-i18n="worlds.browse_avatars">
						Browse avatars
					</button>
					<button type="button" id="wl-browse-agents" class="wl-btn wl-btn-block" data-i18n="worlds.browse_3d_agents">
						Browse 3D agents
					</button>

					<div class="wl-or">or drop one in</div>

					<form class="wl-id-form" id="wl-id-form">
						<input
							type="text"
							id="wl-id-input"
							class="wl-input"
							placeholder="three.ws avatar / agent ID"
							autocomplete="off"
							aria-label="Avatar or agent ID"
						/>
						<button type="submit" id="wl-id-btn" class="wl-btn" data-i18n="worlds.load">Load</button>
					</form>

					<div class="wl-field">
						<label for="wl-name" data-i18n="worlds.display_name">Display name</label>
						<input
							type="text"
							id="wl-name"
							class="wl-input"
							maxlength="24"
							placeholder="guest"
							autocomplete="off"
						/>
					</div>

					<div class="wl-panel-actions">
						<button
							type="button"
							id="wl-enter-mainland"
							class="wl-btn wl-btn-primary wl-btn-block"
						 data-i18n="worlds.enter_the_mainland">
							Enter the mainland →
						</button>
						<a class="wl-create-link" id="wl-create-link" href="/create"
							 data-i18n="worlds.no_avatar_make_one_in_seconds">No avatar? Make one in seconds →</a
						>
					</div>
				</aside>

				<!-- WORLDS -->
				<main>
					<div class="wl-worlds-head">
						<h2 data-i18n="worlds.live_worlds">Live worlds</h2>
						<span class="wl-worlds-count" id="wl-worlds-count"></span>
						<span class="wl-top-spacer"></span>
						<input
							type="search"
							id="wl-search"
							class="wl-search"
							placeholder="Search by symbol or mint…"
							aria-label="Search worlds"
							autocomplete="off"
						/>
					</div>
					<div class="wl-tabs" id="wl-tabs" role="tablist" aria-label="Filter worlds by chain">
						<button type="button" class="wl-tab is-active" data-chain="all" role="tab" aria-selected="true" data-i18n="worlds.all">All</button>
						<button type="button" class="wl-tab" data-chain="pumpfun" role="tab" aria-selected="false" data-i18n="worlds.pump_fun">Pump.fun</button>
						<button type="button" class="wl-tab" data-chain="robinhood-chain" role="tab" aria-selected="false" data-i18n="worlds.robinhood_chain">Robinhood Chain</button>
					</div>
					<div class="wl-grid" id="wl-worlds"></div>
				</main>
			</div>
		</div>

		<div class="wl-toast" id="wl-toast" role="status" aria-live="polite"></div>

		<script type="module" src="/src/worlds-lobby.js"></script>
		<script src="/brand.js" defer></script>
		<!-- Runtime i18n: detects locale, swaps annotated copy, mounts <lang-switcher>. -->
	<script type="module" src="/i18n.js"></script>
</body>
</html>