generated from codrops/CodropsTemplate
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·60 lines (60 loc) · 2.25 KB
/
index.html
File metadata and controls
executable file
·60 lines (60 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Camera Fly-through using Theatre.js | Codrops</title>
<meta name="description" content="Demo for the tutorial on how to create a camera fly-through effect with Theatre.js" />
<meta name="keywords" content="theatre.js, fly-through, 3d, react three fiber" />
<meta name="author" content="Andrew Prifer for Codrops" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/base.css" />
<script>
document.documentElement.className = "js";
var supportsCssVars = function () {
var e,
t = document.createElement("style");
return (
(t.innerHTML = "root: { --tmp-var: bold; }"),
document.head.appendChild(t),
(e = !!(
window.CSS &&
window.CSS.supports &&
window.CSS.supports("font-weight", "var(--tmp-var)")
)),
t.parentNode.removeChild(t),
e
);
};
supportsCssVars() ||
alert(
"Please view this demo in a modern browser that supports CSS Variables."
);
</script>
</head>
<body class="demo-1">
<main>
<div class="frame">
<div class="frame__title">
<h1 class="frame__title-main">Camera Flythrough using Theatre.js</h1>
<a
aria-label="Back to the article"
class="frame__title-back"
href="https://tympanus.net/codrops/?p=70449"
>
<span class="oh__inner">Back to the article</span>
<svg width="18px" height="18px" viewBox="0 0 24 24">
<path
vector-effect="non-scaling-stroke"
d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"
></path>
</svg>
</a>
</div>
<a class="frame__prev" href="https://tympanus.net/Development/TypeShuffleAnimation/">Previous demo</a>
</div>
<div id="root"></div>
</main>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>