Skip to content

Instantly share code, notes, and snippets.

View nuel's full-sized avatar

nuel nuel

  • Amsterdam
  • 04:02 (UTC +02:00)
View GitHub Profile
@nuel
nuel / messagebox.js
Created August 5, 2022 21:46
Message box with per char printing
// Message box
const lines = []
const mbs = {
index: 0,
timer: null,
currentText: null
}
const mb = document.querySelector('.bord')
@nuel
nuel / roll.frag
Created September 28, 2021 11:17
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 coord = (fragCoord.xy / iResolution.xy);
float color = sin(iTime +
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>typing</title>
<style>
#text {
background: #f00;