Skip to content

Commit

Permalink
tm ws to ms
Browse files Browse the repository at this point in the history
  • Loading branch information
inozemtsev-roman committed Jan 11, 2024
1 parent 3f0de17 commit d45e0c2
Show file tree
Hide file tree
Showing 10 changed files with 340,139 additions and 130 deletions.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

32 changes: 16 additions & 16 deletions hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<title>Hello World</title>
<script src="https://github.com/tonmetaspace/web-sdk/raw/main/metaspace.jss"></script>
<script src="metaspace.js"></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes" />
Expand All @@ -19,23 +19,23 @@
background-color: #061139;
}
</style>
<meta name="webspace.keys.owner"
<meta name="metaspace.keys.owner"
content="eyJjcnYiOiJQLTI1NiIsImV4dCI6dHJ1ZSwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoicHVDZlhHMWdtNktiaE51dzRhd3VuN2ZHQTB0SEktbzhGZVNnTXpHOVFINCIsInkiOiJfUkp0eG5YVWVwemlkdGcwMXpXcjJTOGdRSFFEdVhodnNkdDV1OEdXMFk4IiwiaHViX2lkIjoiSnlEM3pad25EWlhBWGR4dCJ9" />
<meta name="webspace.environment.type" content="terrain" />
<meta name="webspace.environment.terrain.colors.ground" content="#00FF05" />
<meta name="webspace.environment.terrain.colors.edge" content="#939357" />
<meta name="webspace.environment.terrain.colors.leaves" content="#006412" />
<meta name="webspace.environment.terrain.colors.bark" content="#251200" />
<meta name="webspace.environment.terrain.colors.rock" content="#FFFFFF" />
<meta name="webspace.environment.terrain.colors.grass" content="#00D90D" />
<meta name="webspace.environment.terrain.colors.sky" content="#4B70A7" />
<meta name="webspace.environment.terrain.colors.water" content="#0044A2" />
<meta name="webspace.environment.terrain.type" content="hills" />
<meta name="webspace.environment.terrain.seed" content="2" />
<meta name="webspace.environment.spawn_point.transform"
<meta name="metaspace.environment.type" content="terrain" />
<meta name="metaspace.environment.terrain.colors.ground" content="#00FF05" />
<meta name="metaspace.environment.terrain.colors.edge" content="#939357" />
<meta name="metaspace.environment.terrain.colors.leaves" content="#006412" />
<meta name="metaspace.environment.terrain.colors.bark" content="#251200" />
<meta name="metaspace.environment.terrain.colors.rock" content="#FFFFFF" />
<meta name="metaspace.environment.terrain.colors.grass" content="#00D90D" />
<meta name="metaspace.environment.terrain.colors.sky" content="#4B70A7" />
<meta name="metaspace.environment.terrain.colors.water" content="#0044A2" />
<meta name="metaspace.environment.terrain.type" content="hills" />
<meta name="metaspace.environment.terrain.seed" content="2" />
<meta name="metaspace.environment.spawn_point.transform"
content="translate3d(-889cm, 162cm, 922cm) rotate3d(0.015, 0.992, 0.127, 3.375rad)" />
<meta name="webspace.environment.spawn_point.radius" content="0" />
<meta name="webspace.permissions.content_change_role" content="member" />
<meta name="metaspace.environment.spawn_point.radius" content="0" />
<meta name="metaspace.permissions.content_change_role" content="member" />
</head>

<body>
Expand Down
32 changes: 16 additions & 16 deletions imported-image-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<title>Imported Image Example</title>
<script src="https://github.com/tonmetaspace/web-sdk/raw/main/metaspace.js"></script>
<script src="metaspace.js"></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes" />
Expand All @@ -19,23 +19,23 @@
background-color: #061139;
}
</style>
<meta name="webspace.environment.type" content="terrain" />
<meta name="webspace.environment.terrain.colors.ground" content="#7DFFD3" />
<meta name="webspace.environment.terrain.colors.edge" content="#3B8474" />
<meta name="webspace.environment.terrain.colors.leaves" content="#84F554" />
<meta name="webspace.environment.terrain.colors.bark" content="#28281C" />
<meta name="webspace.environment.terrain.colors.rock" content="#DEDEDE" />
<meta name="webspace.environment.terrain.colors.grass" content="#FFFFFF" />
<meta name="webspace.environment.terrain.colors.sky" content="#366B96" />
<meta name="webspace.environment.terrain.colors.water" content="#00FFB3" />
<meta name="webspace.environment.terrain.type" content="hills" />
<meta name="webspace.environment.terrain.seed" content="77" />
<meta name="webspace.environment.spawn_point.transform"
<meta name="metaspace.environment.type" content="terrain" />
<meta name="metaspace.environment.terrain.colors.ground" content="#7DFFD3" />
<meta name="metaspace.environment.terrain.colors.edge" content="#3B8474" />
<meta name="metaspace.environment.terrain.colors.leaves" content="#84F554" />
<meta name="metaspace.environment.terrain.colors.bark" content="#28281C" />
<meta name="metaspace.environment.terrain.colors.rock" content="#DEDEDE" />
<meta name="metaspace.environment.terrain.colors.grass" content="#FFFFFF" />
<meta name="metaspace.environment.terrain.colors.sky" content="#366B96" />
<meta name="metaspace.environment.terrain.colors.water" content="#00FFB3" />
<meta name="metaspace.environment.terrain.type" content="hills" />
<meta name="metaspace.environment.terrain.seed" content="77" />
<meta name="metaspace.environment.spawn_point.transform"
content="translate3d(244cm, 125cm, 247cm) rotate3d(-0.970, 0.242, 0.006, 0.052rad)" />
<meta name="webspace.environment.spawn_point.radius" content="10" />
<meta name="webspace.keys.owner"
<meta name="metaspace.environment.spawn_point.radius" content="10" />
<meta name="metaspace.keys.owner"
content="eyJjcnYiOiJQLTI1NiIsImV4dCI6dHJ1ZSwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiaGYwNkFpUkJjT1hjN0RfdGMzbV8zVEVhUERWNjhyTkdaeGI1WlNYYmQ2ayIsInkiOiJ4d0VuTnlqQ1BSWlRMdmRPN2dGQVVqc3k2WVNZajZPelBjYU54TDJRTG5vIiwiaHViX2lkIjoiNTdEVEJnR1JkSFJ1Tnl1YSJ9" />
<meta name="webspace.permissions.content_change_role" content="member" />
<meta name="metaspace.permissions.content_change_role" content="member" />
</head>

<body>
Expand Down
141 changes: 113 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,116 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Metaspace Home</title>
<meta property="og:site_name" content="Metaspace" />
<meta property="og:title" content="Metaspace" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://tonmetaspace.org/" />
<meta property="og:image" content="/assets/og-image.png" />
<meta property="og:description" content="Metaspace lets you create multiplayer, collaborative 3D worlds built in plain HTML." />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:site" content="@tonmetaspace" />
<meta property="twitter:title" content="Metaspace" />
<meta property="twitter:description" content="TON Metaspace lets you create multiplayer, collaborative 3D worlds built in plain HTML." />
<meta property="twitter:image" content="/assets/og-image.png" />
<link rel="icon" type="image/png" href="/assets/favicon.png" />
<link rel="apple-touch-icon" href="/assets/favicon.png" />
<link rel="shortcut icon" href="/assets/favicon.png" />
<meta http-equiv="refresh" content="0;url=introduction.html" />
</head>
<body style="display: none">
<nav>
<ul>
<li><a href="introduction.html">Introduction</a></li>
<li><a href="basic-controls.html">Basic Controls</a></li>
<li><a href="media-support.html">Media Support</a></li>
<li><a href="metaspace.html">metaspace</a></li>
</ul>
</nav>

</body>
<head>
<title>metaspace</title>
<script src="metaspace.js"></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="black" />
<style>
body * {
display: none;
}

body {
margin: 0;
overflow: hidden;
background-color: #061139;
}
</style>
<meta name="metaspace.keys.owner"
content="eyJjcnYiOiJQLTI1NiIsImV4dCI6dHJ1ZSwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiaGYwNkFpUkJjT1hjN0RfdGMzbV8zVEVhUERWNjhyTkdaeGI1WlNYYmQ2ayIsInkiOiJ4d0VuTnlqQ1BSWlRMdmRPN2dGQVVqc3k2WVNZajZPelBjYU54TDJRTG5vIiwiaHViX2lkIjoiM0FHRExWTVV1cDhzcHNzRyJ9" />
<meta name="metaspace.environment.type" content="terrain" />
<meta name="metaspace.environment.terrain.colors.ground" content="#191001" />
<meta name="metaspace.environment.terrain.colors.edge" content="#1E1000" />
<meta name="metaspace.environment.terrain.colors.leaves" content="#0059B1" />
<meta name="metaspace.environment.terrain.colors.bark" content="#05050A" />
<meta name="metaspace.environment.terrain.colors.rock" content="#303048" />
<meta name="metaspace.environment.terrain.colors.grass" content="#000000" />
<meta name="metaspace.environment.terrain.colors.sky" content="#386193" />
<meta name="metaspace.environment.terrain.colors.water" content="#1771CA" />
<meta name="metaspace.environment.terrain.type" content="plains" />
<meta name="metaspace.environment.terrain.seed" content="16" />
<meta name="metaspace.permissions.content_change_role" content="owner" />
<meta name="metaspace.environment.spawn_point.transform"
content="translate3d(-1176cm, 75cm, 757cm) rotate3d(-0.215, 0.972, 0.094, 0.845rad)" />
<meta name="metaspace.environment.spawn_point.radius" content="0" />
<meta name="metaspace.keys.owner"
content="eyJjcnYiOiJQLTI1NiIsImV4dCI6dHJ1ZSwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiQnJzeTRUbG1hQVdxQzVuamJlbW1uUXRoTzJBMU5ZMnAwMGp3aWpRWFNpcyIsInkiOiJZTG5qcWw1cmdqbmZtUFFKd1pDQ1NyS1Y4aEFtTmQyU3MxQ0c5UHUwWm9rIiwiaHViX2lkIjoiM0FHRExWTVV1cDhzcHNzRyJ9" />
</head>

<body>
<label id="w3kumm5" contenteditable=""
style="color: rgb(183, 255, 221); width: min-content; height: min-content; background-color: rgb(19, 68, 18); font-family: sans-serif; transform: translate3d(-1700cm, 322cm, 561cm) rotate3d(-0.159, 0.982, 0.106, 1.211rad); ">
<h1>compile.sh</h1>
</label>
<marquee id="2ssfifa" contenteditable=""
style="color: rgb(58, 231, 225); width: min-content; height: min-content; background-color: transparent; -webkit-text-stroke: 4px; -webkit-text-stroke-color: black; font-family: ui-rounded; transform: translate3d(-1698cm, 266cm, 523cm) rotate3d(-0.200, 0.972, 0.125, 1.040rad) scale3d(0.98, 0.98, 0.98); ">
<code>rm build/nft-item-code.fif</code>
</marquee>
<model id="05gikd2" type="model/vnd.svox" src="assets/main-672905.svox"
style="transform: translate3d(-2689cm, 280cm, 167cm) rotate3d(0.039, 0.980, -0.195, 2.757rad) scale3d(3.36, 3.36, 3.36); ">
</model>
<model id="74jzd3d" type="model/vnd.svox" src="assets/main-672905.svox" draggable=""
style="transform: translate3d(-2729cm, 277cm, -732cm) rotate3d(0.035, 0.999, -0.022, 1.117rad) scale3d(3.36, 3.36, 3.36); ">
</model>
<model id="jz5ov0e" type="model/vnd.svox" src="assets/main-672905.svox" draggable=""
style="transform: translate3d(-2901cm, 697cm, -429cm) rotate3d(0.035, 0.999, -0.022, 1.117rad) scale3d(3.36, 3.36, 3.36); ">
</model>
<model id="x5l71h9" type="model/vnd.svox" src="assets/main-672905.svox" draggable=""
style="transform: translate3d(-3061cm, 275cm, -447cm) rotate3d(0.035, 0.999, -0.022, 1.117rad) scale3d(3.36, 3.36, 3.36); ">
</model>
<model id="sc4an8l" type="model/vnd.svox" src="assets/main-359156.svox"
style="transform: translate3d(-1814cm, 334cm, 1527cm) rotate3d(0.877, -0.363, 0.315, 1.700rad) scale3d(3.82, 3.82, 3.82); ">
</model>
<label id="dd64vzp" contenteditable=""
style="color: black; width: min-content; height: min-content; background-color: white; font-family: sans-serif; transform: translate3d(-1531cm, 259cm, 165cm) rotate3d(-0.221, 0.971, 0.094, 0.900rad) scale3d(2.07, 2.07, 2.07); ">
<table>
<tbody>
<tr>
<td data-row="1"><span
style="background-color: rgb(255, 255, 255); color: var(--dashboard-secondaryText);">Worker
nameCurrent </span><span style="background-color: initial; color: inherit;"></span><span
style="background-color: rgb(255, 255, 255); color: var(--dashboard-secondaryText);">1h </span><span
style="background-color: initial; color: inherit;"></span><span
style="background-color: rgb(255, 255, 255); color: var(--dashboard-secondaryText);">24h </span><span
style="background-color: initial; color: inherit;"></span></td>
</tr>
<tr>
<td data-row="2"><span style="color: rgb(28, 30, 33);">Total hashrate</span></td>
<td data-row="2"><span style="color: rgb(28, 30, 33);">136.04 TH/s</span></td>
<td data-row="2"><span style="color: rgb(28, 30, 33);">137.29 TH/s</span></td>
<td data-row="2"><span style="color: rgb(28, 30, 33);">133.00 TH/s</span></td>
</tr>
<tr>
<td data-row="3"><span style="color: rgb(28, 30, 33);"> 01</span></td>
<td data-row="3"><span style="color: rgb(28, 30, 33);">80.69 TH/s</span></td>
<td data-row="3"><span style="color: rgb(28, 30, 33);">75.37 TH/s</span></td>
<td data-row="3"><span style="color: rgb(28, 30, 33);">77.99 TH/s</span></td>
</tr>
<tr>
<td data-row="4"><span style="color: rgb(28, 30, 33);"> 1</span></td>
<td data-row="4"><span style="color: rgb(28, 30, 33);">29.09 TH/s</span></td>
<td data-row="4"><span style="color: rgb(28, 30, 33);">31.12 TH/s</span></td>
<td data-row="4"><span style="color: rgb(28, 30, 33);">28.28 TH/s</span></td>
</tr>
<tr>
<td data-row="5"><span style="color: rgb(28, 30, 33);"> niMazurmax38x1x70</span></td>
<td data-row="5"><span style="color: rgb(28, 30, 33);">26.27 TH/s</span></td>
<td data-row="5"><span style="color: rgb(28, 30, 33);">30.80 TH/s</span></td>
<td data-row="5"><span style="color: rgb(28, 30, 33);">26.73 TH/s</span></td>
</tr>
</tbody>
</table>
<h1><strong></strong></h1>
</label>
<model id="o0eei7v" type="model/vnd.svox" src="assets/main-285496.svox"
style="transform: translate3d(-985cm, 430cm, 1713cm) rotate3d(-0.068, 0.751, -0.657, 3.279rad) scale3d(5.19, 5.19, 5.19); ">
</model>
<model id="8zskqqx" type="model/vnd.svox" src="assets/main-918856.svox"
style="transform: translate3d(260cm, 558cm, 1260cm) rotate3d(0.281, -0.679, 0.679, 2.594rad) scale3d(7.65, 7.65, 7.65); ">
</model>
</body>

</html>
31 changes: 31 additions & 0 deletions index_.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Metaspace Home</title>
<meta property="og:site_name" content="Metaspace" />
<meta property="og:title" content="Metaspace" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://tonmetaspace.org/" />
<meta property="og:image" content="/assets/og-image.png" />
<meta property="og:description" content="Metaspace lets you create multiplayer, collaborative 3D worlds built in plain HTML." />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:site" content="@tonmetaspace" />
<meta property="twitter:title" content="Metaspace" />
<meta property="twitter:description" content="TON Metaspace lets you create multiplayer, collaborative 3D worlds built in plain HTML." />
<meta property="twitter:image" content="/assets/og-image.png" />
<link rel="icon" type="image/png" href="/assets/favicon.png" />
<link rel="apple-touch-icon" href="/assets/favicon.png" />
<link rel="shortcut icon" href="/assets/favicon.png" />
<meta http-equiv="refresh" content="0;url=introduction.html" />
</head>
<body style="display: none">
<nav>
<ul>
<li><a href="introduction.html">Introduction</a></li>
<li><a href="basic-controls.html">Basic Controls</a></li>
<li><a href="media-support.html">Media Support</a></li>
<li><a href="metaspace.html">metaspace</a></li>
</ul>
</nav>

</body>
</html>
32 changes: 16 additions & 16 deletions introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

<head>
<title>Introduction</title>
<meta name="webspace.projection.type" content="flat" />
<script src="webspace.js"></script>
<meta name="metaspace.projection.type" content="flat" />
<script src="metaspace.js"></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes" />
Expand All @@ -20,20 +20,20 @@
background-color: #061139;
}
</style>
<meta name="webspace.environment.type" content="terrain" />
<meta name="webspace.environment.terrain.colors.ground" content="#041223" />
<meta name="webspace.environment.terrain.colors.edge" content="#010707" />
<meta name="webspace.environment.terrain.colors.leaves" content="#FF4200" />
<meta name="webspace.environment.terrain.colors.bark" content="#1E1A18" />
<meta name="webspace.environment.terrain.colors.rock" content="#434343" />
<meta name="webspace.environment.terrain.colors.grass" content="#43A1FF" />
<meta name="webspace.environment.terrain.colors.sky" content="#535F6E" />
<meta name="webspace.environment.terrain.colors.water" content="#064D3C" />
<meta name="webspace.environment.terrain.type" content="plains" />
<meta name="webspace.environment.terrain.seed" content="117" />
<meta name="webspace.permissions.content_change_role" content="owner" />
<meta name="webspace.permissions.save_changes_to_origin" content="true" />
<meta name="webspace.keys.owner"
<meta name="metaspace.environment.type" content="terrain" />
<meta name="metaspace.environment.terrain.colors.ground" content="#041223" />
<meta name="metaspace.environment.terrain.colors.edge" content="#010707" />
<meta name="metaspace.environment.terrain.colors.leaves" content="#FF4200" />
<meta name="metaspace.environment.terrain.colors.bark" content="#1E1A18" />
<meta name="metaspace.environment.terrain.colors.rock" content="#434343" />
<meta name="metaspace.environment.terrain.colors.grass" content="#43A1FF" />
<meta name="metaspace.environment.terrain.colors.sky" content="#535F6E" />
<meta name="metaspace.environment.terrain.colors.water" content="#064D3C" />
<meta name="metaspace.environment.terrain.type" content="plains" />
<meta name="metaspace.environment.terrain.seed" content="117" />
<meta name="metaspace.permissions.content_change_role" content="owner" />
<meta name="metaspace.permissions.save_changes_to_origin" content="true" />
<meta name="metaspace.keys.owner"
content="eyJjcnYiOiJQLTI1NiIsImV4dCI6dHJ1ZSwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiaGYwNkFpUkJjT1hjN0RfdGMzbV8zVEVhUERWNjhyTkdaeGI1WlNYYmQ2ayIsInkiOiJ4d0VuTnlqQ1BSWlRMdmRPN2dGQVVqc3k2WVNZajZPelBjYU54TDJRTG5vIiwiaHViX2lkIjoiN1J5UjJqc0xLSlhwTW5aOCJ9" />
</head>

Expand Down
Loading

0 comments on commit d45e0c2

Please sign in to comment.