A Pen by Adam Quinton on CodePen.
- GitHub Staff
- You're looking at it
- @lostintangent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "Schema for GistPad showcases.", | |
"type": "object", | |
"required": [ | |
"categories" | |
], | |
"properties": { | |
"categories": { | |
"type": "array", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Contents --> | |
<div id="contents"> | |
<canvas id="canvas">This browser cannot use a canvas.</canvas> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="controls"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--comments in JS--> | |
<script id="vertexShader" type="x-shader/x-vertex"> | |
varying vec2 v_uv; | |
void main() { | |
v_uv = uv; | |
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.); | |
} | |
</script> | |
<!-- FragmentShader code here --> | |
<!-- // built from the tutorial https://www.youtube.com/watch?v=dhuigO4A7RY --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function App() { | |
const { Renderer, Camera, Geometry, Program, Mesh, Vec2, Vec3, Color, GPGPU } = ogl; | |
let renderer, gl, camera; | |
let time, mouse, color1, color2; | |
let points, positionB, velocityB; | |
init(); | |
function init() { |
Drawn in Illustrator, created with SVG and Greensock. Learn how to animate this in my Skillshare course: https://skl.sh/2SgBfAR
A Pen by Alex Trost on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<svg class="frame" viewBox="0 0 530 380"> | |
<defs> | |
<filter id="blackOutlineEffect"> | |
<feMorphology in="SourceAlpha" result="MORPH" operator="dilate" radius="2" /> | |
<feColorMatrix in="MORPH" result="WHITENED" type="matrix" values="0 0 0 0 0, 0 0 0 0 0, 0 0 0 0 0, 0 0 0 1 0"/> | |
<feMerge> | |
<feMergeNode in="WHITENED"/> | |
<feMergeNode in="SourceGraphic"/> | |
</feMerge> |
A Pen by Ben Matthews on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="lighthouse"> | |
<div class="top"> | |
<div class="lightning-rod"></div> | |
<div class="cupola"></div> | |
<div class="light-room"></div> | |
</div> | |
<div class="last-story"> | |
</div> | |
<div class="stories"> | |
<div class="window"></div> |