代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>INFINITOWN</title>
<link href="https://fonts.googleapis.com/css2?family=Dosis:wght@500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Work+Sans:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="main.css">
</head>
<body>
<button id='about-button'></button>
<div id="about" class="">
<div class="popup">
<div class="inner">
<h1>Infinitown</h1>
<div class="description">
<p>This demo is an attempt to experiment WebGL with THREE.js library. Its intention is to create
a procedural city that feels alive and is fun
to watch</p>
<p>This is highly inspired by this orignal demo <a target="_blank"
href='https://demos.littleworkshop.fr/infinitown'>INFINITOWN</a></p>
<p>Made with: Three.js <br>Models by VenCreations.</p>
</div>
<div class="footer">
<p class="small">
Made by <a target="_blank" href="https://kkhanhluu.github.io/">Khanh Luu</a>, a web
developer based in
Darmstadt, who enjoys and is interested in building web applications. <a target="_blank"
href="https://kkhanhluu.github.io/">Get in touch</a>.
</p>
</div>
<div class="close" id="about-close"></div>
</div>
</div>
</div>
<canvas style="width: 100vw; height: 100vh" id="c"></canvas>
<script type="text/javascript" src="js/three.js"></script>
<!-- <script type="text/javascript" src="js/MapControls.js"></script> -->
<!-- <script type="text/javascript" src="js/inflate.min.js"></script> -->
<script type="text/javascript" src="js/stats.min.js"></script>
<script type="text/javascript" src="js/GLTFLoader.js"></script>
<script type="text/javascript" src="js/OrbitControls.js"></script>
<script type="text/javascript" src="js/RGBELoader.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script>
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。