Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: controllers/item.php
Line Number: 25
Line Number: 1114
/*********
* made by Matthias Hurrle (@atzedent)
*/
/** @type {HTMLCanvasElement} */
const canvas = window.canvas
const gl = canvas.getContext("webgl2")
const dpr = Math.max(1, .5*window.devicePixelRatio)
/** @type {Map<string,PointerEvent>} */
const touches = new Map()
const vertexSource = `#version 300 es
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
in vec2 position;
void main(void) {
gl_Position = vec4(position, 0., 1.);
}
`
const fragmentSource = `#version 300 es
uniform float time;
uniform vec2 resolution;
uniform vec2 touch;
uniform int pointerCount;
out vec4 fragColor;
#define P pointerCount
#define T mod(time,180.)
#define S smoothstep
#define mouse (touch/resolution)
* {
box-sizing: border-box;
html, body {
margin: 0;
min-height: 100vh;
overflow: hidden;
background:
repeating-radial-gradient(
circle at center,
#444 0 10%,
#111 10% 20%
);
touch-action: none;
canvas {
width: 100%;
height: auto;
object-fit: contain;
<canvas id="canvas"></canvas>
Working with Global Gaming Artists and Developers!