Skip to content

Commit

Permalink
fixed package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
leofavre committed Jul 28, 2017
2 parents 6507856 + f5f3e6d commit 5b8faf1
Show file tree
Hide file tree
Showing 37 changed files with 1,172 additions and 237 deletions.
48 changes: 48 additions & 0 deletions dist/es6/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
html,
body {
margin: 0;
background: #1d1f20;
overflow: hidden;
font-family: sans-serif;
font-size: 13px;
}

#canvas {
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: transparent;
}

#controls {
position: fixed;
left: 0em;
bottom: 0em;
color: #fff;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

box-sizing: border-box;
padding: 15px;
}

label {
display: flex;
flex-flow: row wrap;
margin: 0.75em 0;
}

label span {
margin-left: 1em;
order: 5;
}

@media only screen and (max-width: 1200px) and (max-height: 600px) {
#controls label {
display: none;
}
}
34 changes: 34 additions & 0 deletions dist/es6/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>Gotta Light?</title>
<link rel="stylesheet" type="text/css" href="index.css">
</head>

<body>
<canvas id="canvas"></canvas>
<div id="controls">
<label>
<span>Aperture</span>
<input id="ray-aperture-input" type="range" min="0.5" max="90">
</label>
<label>
<span>Intensity</span>
<input id="ray-reach-input" type="range" min="5" max="150">
</label>
<label>
<span>Radius</span>
<input id="light-reach-input" type="range" min="1" max="10">
</label>
<label>
<span>Font size</span>
<input id="phrase-gap-input" type="range" min="1" max="20">
</label>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.7.2/redux.min.js" integrity="sha256-Y8AuGIYFWCOBO5/w1oXzcEErW4JALGUWiG5VWleVWyw=" crossorigin="anonymous"></script>
<script src="index.js"></script>
</body>

</html>
Loading

0 comments on commit 5b8faf1

Please sign in to comment.