Fix JS demos (thanks, Weend)
Changes
--- a/content/blog/2016/02/midpoint-displacement.markdown Thu Aug 10 22:24:43 2017 -0400
+++ b/content/blog/2016/02/midpoint-displacement.markdown Mon Sep 18 00:11:54 2017 -0400
@@ -7,9 +7,9 @@
+++
-<script data-cfasync="false" src="/media/js/three.min.js"></script>
-<script data-cfasync="false" src="/media/js/TrackballControls.js"></script>
-<script data-cfasync="false" src="/media/js/terrain1.js"></script>
+<script defer src="/media/js/three.min.js"></script>
+<script defer src="/media/js/TrackballControls.js"></script>
+<script defer src="/media/js/terrain1.js"></script>
I'm taking the Game Engine Architecture class at Reykjavík University. My group
just finished our midterm [project][] where we played around with procedural
--- a/content/blog/2016/03/recursive-midpoint-displacement.markdown Thu Aug 10 22:24:43 2017 -0400
+++ b/content/blog/2016/03/recursive-midpoint-displacement.markdown Mon Sep 18 00:11:54 2017 -0400
@@ -6,10 +6,10 @@
+++
-<script data-cfasync="false" src="/media/js/three.min.js"></script>
-<script data-cfasync="false" src="/media/js/TrackballControls.js"></script>
+<script defer src="/media/js/three.min.js"></script>
+<script defer src="/media/js/TrackballControls.js"></script>
-<script data-cfasync="false" src="/media/js/terrain2.js"></script>
+<script defer src="/media/js/terrain2.js"></script>
In the [last post][mpd] we looked at implementing the Midpoint Displacement
algorithm. I ended up doing the last step iteratively, which works, but isn't
--- a/content/blog/2016/06/diamond-square.markdown Thu Aug 10 22:24:43 2017 -0400
+++ b/content/blog/2016/06/diamond-square.markdown Mon Sep 18 00:11:54 2017 -0400
@@ -6,9 +6,9 @@
+++
-<script data-cfasync="false" src="/media/js/three.min.js"></script>
-<script data-cfasync="false" src="/media/js/TrackballControls.js"></script>
-<script data-cfasync="false" src="/media/js/terrain3.js"></script>
+<script defer src="/media/js/three.min.js"></script>
+<script defer src="/media/js/TrackballControls.js"></script>
+<script defer src="/media/js/terrain3.js"></script>
In the last two posts we looked at implementing the Midpoint Displacement
algorithm for procedurally generating terrain. Today we're going to look at