Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (72 sloc) 2.29 KB
<body>
<script src="./js/d3.v3.min.js"></script>
<script src="./js/trianglify.js"></script>
<script type="text/javascript">
window.onload = function(){
var t = new Trianglify({noiseIntensity:0,});
var lb = document.getElementById("lb");
var pattern = t.generate(document.body.clientWidth, document.body.clientHeight);
drawBackground();
function drawBackground(){
pattern = t.generate(document.body.clientWidth, document.body.clientHeight);
document.body.setAttribute('style', 'background-image: '+pattern.dataUrl);
};
window.onresize = function() {
drawBackground();
};
lb.onclick = function(){
t = new Trianglify({noiseIntensity:0,});
drawBackground();
return false;
};
};
</script>
<style>
a{
text-decoration: none;
color: white;
text-shadow: black 0.1em 0.1em 0.2em;
font-family:monospace;
font-size:150%;
}
.centerbox{
width:270px;
height:150px;
position:absolute;
left:50%;
top:50%;
margin:-75px 0 0 -135px;
text-align: center;
}
</style>
<div class="centerbox">
<a>Welcome to KevinLeutzinger.com</a>
<br>
<br>
<a style="font-size:200%; display:none"href="./surviveSRC">Survive SRC</a>
<br>
<a href="./jetski">Jetski (in progress)</a>
<br>
<a href="./hearth">Hearthstone Sounds</a>
<br>
<a href="./projects"><strong>Projects</strong></a>
<br>
<a href="./og">First Game I Ever Made</a>
<br>
<a href="https://github.com/kleutzinger/kleutzinger.github.io">View Sources on GitHub</a>
<br>
<a href="http://www.kevinleutzinger.com/KevinLeutzingerResume.pdf">My Resume</a>
<br>
<a href="mailto:me@kevinleutzinger.com">Email Me</a>
<br>
</div>
<a id="lb", href="#" style="position:absolute;left:5%;top:90%;">New Background</a>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-50864016-1', 'kevinleutzinger.com');
ga('send', 'pageview');
</script>
</body>
You can’t perform that action at this time.