You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
2.3 KiB
PHP
46 lines
2.3 KiB
PHP
<?php
|
|
|
|
// main menu
|
|
echo '
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>The Book of Shaders</title>
|
|
<meta name="keywords" content="shader,shaders,GLSL,book,pixel,fragment,uniform,texture,procedural,generative,matrix,random,noise" />
|
|
<meta name="description" content="This is a gentle step-by-step guide through the abstract and complex universe of Fragment Shaders." />
|
|
|
|
<!-- CodeMirror -->
|
|
<link type="text/css" rel="stylesheet" href="/src/codemirror/css/codemirror.css">
|
|
<link type="text/css" rel="stylesheet" href="/src/codemirror/addon/fold/foldgutter.css">
|
|
<link type="text/css" rel="stylesheet" href="/src/codemirror/addon/dialog/dialog.css">
|
|
<link type="text/css" rel="stylesheet" href="/src/codemirror/addon/hint/show-hint.css">
|
|
<link type="text/css" rel="stylesheet" href="/src/codemirror/theme/neo.css">
|
|
<script type="text/javascript" src="/src/codemirror.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/search/searchcursor.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/search/search.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/dialog/dialog.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/edit/matchbrackets.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/edit/closebrackets.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/comment/comment.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/wrap/hardwrap.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/fold/foldcode.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/fold/brace-fold.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/keymap/sublime.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/addon/hint/show-hint.js"></script>
|
|
<script type="text/javascript" src="/src/codemirror/mode/clike.js"></script>
|
|
|
|
<!-- Highlight -->
|
|
<link type="text/css" rel="stylesheet" href="/css/github.css">
|
|
<script type="text/javascript" src="/src/highlight.min.js"></script>
|
|
|
|
<!-- My stuff -->
|
|
<link type="text/css" rel="stylesheet" href="/css/style.css">
|
|
<script type="text/javascript" src="https://rawgit.com/patriciogonzalezvivo/glslCanvas/master/build/GlslCanvas.min.js"></script>
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
';
|
|
?>
|