Skip to content

Instantly share code, notes, and snippets.

View ehsuun's full-sized avatar

Ehsan Sayyad ehsuun

View GitHub Profile
@ehsuun
ehsuun / index.html
Last active November 2, 2016 11:05
200C 4th Assignment
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: Monospace;
background-color: #f0f0f0;
@ehsuun
ehsuun / index.html
Created October 19, 2016 12:36
200C Mesh Assignment | Three.js
<!--
A simple animated mesh with vertex and fragment shaders in Three.js
by Ehsan Sayyad
-->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
@ehsuun
ehsuun / index.html
Last active October 12, 2016 17:48
2nd HomeWork
<html>
<script type="text/javascript" src="https://rawgit.com/patriciogonzalezvivo/glslCanvas/master/build/GlslCanvas.js"></script>
<body>
<canvas class="glslCanvas" data-fragment="
// Author: Ehsan Sayyad
// Title: StarFish
#ifdef GL_ES
precision mediump float;
#endif
<html>
<script type="text/javascript" src="https://rawgit.com/patriciogonzalezvivo/glslCanvas/master/build/GlslCanvas.js"></script>
<body>
<canvas class="glslCanvas" data-fragment="
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.