repl.it
@sbrl/

Test: Starlight

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • index.css
  • Random.js
  • Star.js
  • Starlight-Renderer.js
  • Vector.js
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width" />
        <title>Starlight</title>
        
        <link href="index.css" rel="stylesheet" />
        
        <!-- Libraries -->
        <script src="Vector.js"></script>
        <script src="Random.js"></script>
        
        <!-- Local Code -->
        <script src="Starlight-Renderer.js"></script>
        <script src="Star.js"></script>
    </head>
    <body>
		<canvas id="canvas-main"></canvas>
    </body>
</html>
result
console