Skip to content

Instantly share code, notes, and snippets.

View haehn's full-sized avatar
🤠

Daniel Haehn haehn

🤠
View GitHub Profile
<html>
<head>
<style>
html, body {
background-color:#000;
margin: 0;
padding: 0;
height: 100%;
overflow: hidden !important;
}
@haehn
haehn / gltf.py
Created December 2, 2019 20:13
glTF converter
import numpy as np
import base64
with open("beethoven.ply", 'r') as f:
lines = f.readlines()
counter = 0
vertices_coming = False
faces_coming = False
@haehn
haehn / index.html
Created November 13, 2019 01:15
CS460 Assignment 7 Solution
<html>
<head>
<meta charset="UTF-8" />
<style>
html, body {
background-color:#000;
margin: 0;
padding: 0;
height: 100%;
overflow: hidden !important;
@haehn
haehn / index.html
Last active November 11, 2019 12:31
CS460 Assignment 6 Solution
<html>
<head>
<meta charset="UTF-8" />
<style>
html, body {
background-color:#000;
margin: 0;
padding: 0;
height: 100%;
overflow: hidden !important;
@haehn
haehn / videotexture.html
Created November 1, 2019 21:24
Three.JS Video Texture Experiment
<html>
<head>
<meta charset="UTF-8" />
<style>
html, body {
background-color:#fff;
margin: 0;
padding: 0;
@haehn
haehn / index.html
Created October 23, 2019 19:18
CS460 Assignment 6 Code from Wednesday
<html>
<head>
<meta charset="UTF-8" />
<style>
html, body {
background-color:#000;
margin: 0;
padding: 0;
height: 100%;
overflow: hidden !important;
@haehn
haehn / index.html
Created October 18, 2019 02:49
CS460 Assignment 5
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<style>
html, body {
background-color: #000;
margin: 0;
padding: 0;
@haehn
haehn / solution.html
Created October 9, 2019 02:36
CS460 Assignment 4
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<title>Vanilla WebGL!</title>
<style>
html, body {
background-color:#000;
margin: 0;
padding: 0;
@haehn
haehn / index.html
Created September 27, 2019 03:33
CS460 Assignment 3
<html>
<head>
<meta charset="UTF-8" />
<style>
html, body {
background-color:#000;
margin: 0;
padding: 0;
height: 100%;
overflow: hidden !important;
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<title>CS460 Assignment 2</title>
<style>
body {
background-color: black;
color: white; /* font color */
font-family: sans-serif;