summaryrefslogtreecommitdiff
path: root/path-tracer/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'path-tracer/index.html')
-rw-r--r--path-tracer/index.html72
1 files changed, 72 insertions, 0 deletions
diff --git a/path-tracer/index.html b/path-tracer/index.html
new file mode 100644
index 0000000..bf75a11
--- /dev/null
+++ b/path-tracer/index.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>s1nical - WebGL Path Tracing</title>
+ <!-- Site metadata -->
+ <meta name="description" content="WebGL Path Tracing">
+ <meta property="og:description" content="WebGL Path Tracing">
+ <meta property="og:title" content="s1nical - WebGL Path Tracing">
+ <meta property="twitter:card" content="summary">
+ <meta property="twitter:site" content="@9inny">
+ <meta property="og:image" content="">
+ <meta property="og:url" content="https://cyne.cf/path-tracer">
+ <link rel="apple-touch-icon" sizes="128x128" href="/favicon.jpg">
+ <link rel="icon" type="image/jpg" href="/favicon.jpg" sizes="128x128">
+ <link rel="canonical" href="https://cyne.cf/path-tracer">
+ <link rel="author" href="humans.txt" />
+ <!-- Schema.org Stuff -->
+ <script type="application/ld+json">
+ {
+ "name": "s1nical",
+ "alternateName": "s1n",
+ "description": "WebGL Path Tracing",
+ "headline": "WebGL Path Tracing",
+ "url": "https://cyne.cf/path-tracers",
+ "image": "",
+ "sameAs": [
+ "https://twitter.com/9inny",
+ "https://github.com/8cy",
+ "https://www.reddit.com/user/s1nical/"
+ ],
+ "publisher": {
+ "@type": "Organization",
+ "logo": {
+ "@type": "ImageObject",
+ "url": ""
+ }
+ },
+ "@type": "WebSite",
+ "@context": "http://schema.org"
+ }
+ </script>
+ <link rel="stylesheet" href="/path-tracer/css/main.css">
+ <script src="/path-tracer/js/main.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/97/three.min.js"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
+</head>
+ <body>
+ <div id="main">
+ <canvas id="canvas" width="512" height="512"></canvas>
+ <div id="error"><noscript>Please enable JavaScript</noscript></div>
+
+ <p>
+ <b>Material:</b>
+ <select id="material">
+ <option value="0" selected>Diffuse</option>
+ <option value="1">Mirror</option>
+ <option value="2">Glossy</option>
+ </select>
+ <span id="glossiness-factor">
+ <br>with glossiness factor: 0 &lt; <input id="glossiness" value="0.6"> &lt; 1
+ </span>
+ <br>
+
+ <b>Environment:</b>
+ <select id="environment">
+ <option value="0" selected>Cornell Box - Yellow and Blue</option>
+ <option value="1">Cornell Box - Red and Green</option>
+ </select>
+ </p>
+ </div>
+ </body>
+</html> \ No newline at end of file