-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (37 loc) · 1.74 KB
/
index.html
File metadata and controls
47 lines (37 loc) · 1.74 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
---
layout: default
title: Home
---
<script src="//d3js.org/d3.v4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser-polyfill.min.js"></script>
<div id="description">
<h1>Hello!</h1>
<p>This is my site for notes and thoughts on physics, maths and anything else that interests me.</p>
</div>
<div id="kaleidoscope-container">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 75 1700 844">
<defs>
<g id="grouped-triangle">
<polygon class="background-triangle"
fill="#342338"
stroke="black"
stroke-width="1"
points="75,0
0,130
150,130" ></polygon>
<g class="kaleidoscope-shapes">
</g>
</g>
</defs>
<g id="hexagon" transform="translate(0,150) rotate(30)" fill-opacity="0" stroke-opacity="0.5">
<use xlink:href="#grouped-triangle" transform="translate(-75)"></use>
<use xlink:href="#grouped-triangle" transform="rotate(120) translate(-75)"></use>
<use xlink:href="#grouped-triangle" transform="rotate(240) translate(-75)"></use>
<use xlink:href="#grouped-triangle" transform="scale(-1,1) rotate(-60) translate(-75)"></use>
<use xlink:href="#grouped-triangle" transform="scale(-1,1) rotate(-180) translate(-75)"></use>
<use xlink:href="#grouped-triangle" transform="scale(-1,1) rotate(-300) translate(-75)"></use>
</g>
</svg>
</div>
<script src="scripts/path-data-polyfill-babel.js"></script>
<script src="scripts/kaleidoscope-babel.js"></script>