@matematrolii/sketchbook
Version:
3D matematrolii playground built on three.js and cannon.js
26 lines (23 loc) • 795 B
HTML
<html>
<head>
<title>Sketchbook</title>
</head>
<body>
<script src="build/sketchbook.min.js"></script>
<script>
const awsDomain = 'https://matematroli.s3.eu-central-1.amazonaws.com'
const world = new Sketchbook.World({
world: `${awsDomain}/environments/terra.glb`,
scenario: 'terra',
playerModel: `${awsDomain}/hero/hero.glb`,
playerTexture: `${awsDomain}/hero/textures/oxy.webp`,
itemModel: `${awsDomain}/diamond/diamond.glb`,
itemTexture: `${awsDomain}/items/mushroom/mushroom.webp`,
enemyModel: `${awsDomain}/matematrol/matematrol.glb`,
enemyTexture: `${awsDomain}/matematrol/matematrol.webp`,
rocketTexture: `${awsDomain}/rocket/textures/apollo.webp`
}, { Debug_Physics: true, FXAA: false, Debug_FPS: true });
</script>
</body>
</html>