summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles
diff options
context:
space:
mode:
Diffstat (limited to 'assets/javascripts/rectangles')
-rw-r--r--assets/javascripts/rectangles/engine/scenery.js1
-rw-r--r--assets/javascripts/rectangles/util/colors.js3
2 files changed, 4 insertions, 0 deletions
diff --git a/assets/javascripts/rectangles/engine/scenery.js b/assets/javascripts/rectangles/engine/scenery.js
index 9bc999f..07583c2 100644
--- a/assets/javascripts/rectangles/engine/scenery.js
+++ b/assets/javascripts/rectangles/engine/scenery.js
@@ -10,6 +10,7 @@ var scenery = new function(){
z: 0,
scale: 1.2,
rotationY: 3*PI/4,
+ backface: true,
})
scene.add(img)
diff --git a/assets/javascripts/rectangles/util/colors.js b/assets/javascripts/rectangles/util/colors.js
index 8f0c148..031690c 100644
--- a/assets/javascripts/rectangles/util/colors.js
+++ b/assets/javascripts/rectangles/util/colors.js
@@ -28,6 +28,9 @@
"rgba(255,0,128,0.5)",
],
white: [
+ "rgba(255,255,255,0.9)",
+ ],
+ black: [
"rgba(0,0,0,0.9)",
],
}