Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: controllers/item.php
Line Number: 25
Line Number: 1114
(function () {
'use strict';
var INITIAL_SIZE = 250,
INITIAL_WIND = [10.0, 10.0],
INITIAL_CHOPPINESS = 1.5;
var UI_COLOR = 'rgb(52, 137, 189)';
var addToVector = function (out, a, b) {
out[0] = a[0] + b[0];
out[1] = a[1] + b[1];
out[2] = a[2] + b[2];
return out;
};
var subtractFromVector = function (out, a, b) {
out[0] = a[0] - b[0];
out[1] = a[1] - b[1];
out[2] = a[2] - b[2];
var multiplyVectorByScalar = function (out, v, k) {
out[0] = v[0] * k;
out[1] = v[1] * k;
out[2] = v[2] * k;
var makeIdentityMatrix = function (matrix) {
matrix[0] = 1.0;
matrix[1] = 0.0;
matrix[2] = 0.0;
matrix[3] = 0.0;
matrix[4] = 0.0;
matrix[5] = 1.0;
matrix[6] = 0.0;
matrix[7] = 0.0;
matrix[8] = 0.0;
matrix[9] = 0.0;
matrix[10] = 1.0;
matrix[11] = 0.0;
matrix[12] = 0.0;
matrix[13] = 0.0;
matrix[14] = 0.0;
body {
overflow: hidden;
}
canvas {
position: absolute;
top: 0;
left: 0;
z-index: 0;
#overlay {
z-index: 2;
#ui {
z-index: 1;
#camera {
overflow: none;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
#error {
display: none;
top: 20px;
width: 100%;
font-family: 'Open Sans', sans-serif;
font-size: 16px;
font-weight: 400px;
color: #333333;
text-align: center;
a:link {
a:visited {
<!--forked from http://david.li/waves/-->
<div id="overlay"></div>
<div id="ui">
<div id="camera">
<canvas id="profile" width="350" height="105"></canvas>
<div id="length"></div>
<div id="end"></div>
<div id="wind">
<span id="wind-speed"></span><span id="wind-unit"> m/s</span>
<div id="wind-label">WIND</div>
</div>
<div id="size">
<span id="size-value"></span><span id="size-unit"> m</span>
<div id="size-label">SIZE</div>
<div id="choppiness"></div>
<div id="choppiness-label">CHOPPINESS</div>
<canvas id="simulator"></canvas>
<div id="error">Your browser does not appear to support the required technologies.</div>
Working with Global Gaming Artists and Developers!