mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-09 19:10:24 +00:00
33 lines
947 B
HTML
33 lines
947 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>GLSL Editor</title>
|
|
|
|
<!-- GLSL Canvas -->
|
|
<script type="text/javascript" src="https://rawgit.com/patriciogonzalezvivo/glslCanvas/master/build/GlslCanvas.min.js"></script>
|
|
<style>
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
background: #272822;
|
|
}
|
|
|
|
#glsl_editor {
|
|
height: 100%;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="glsl_editor"></div>
|
|
</body>
|
|
|
|
<link type="text/css" rel="stylesheet" href="https://cdn.rawgit.com/patriciogonzalezvivo/glslEditor/gh-pages/build/css/main.css">
|
|
<script type="application/javascript" src="https://cdn.rawgit.com/patriciogonzalezvivo/glslEditor/gh-pages/build/js/glslEditor.js"></script>
|
|
<script type="text/javascript">
|
|
window.glslEditor = new GlslEditor('#glsl_editor');
|
|
window.addEventListener("hashchange", function () {
|
|
window.glslEditor.chechHash()
|
|
}, false);
|
|
</script>
|
|
</html> |