- https://fishshell.com/ - my default shell, i use theme bobthefish
- https://www.sublimetext.com/ - my default editor
- Material Theme
- Operator font
- Packages: Emmet, Hayaku, SidebarEnhancements, JS Snippets, GSAP Snippets
- Sublime snippet for comments
- Sublime icon
- https://code.visualstudio.com/ - trying to switch, but not yet
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style>canvas{border: 1px solid red}</style> | |
</head> | |
<body> | |
<h1>Hello fwdayds!!!! ;-)</h1> |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style>canvas{border: 1px solid red}</style> | |
</head> | |
<body> | |
<h1>Hello fwdayds!!!! ;-)</h1> |
This file contains 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
let colors = ["#fe4a48","#2ab7ca","#fed766","#e6e6ea","#f4f4f8"] |
This file contains 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
/* | |
* A speed-improved perlin and simplex noise algorithms for 2D. | |
* | |
* Based on example code by Stefan Gustavson (stegu@itn.liu.se). | |
* Optimisations by Peter Eastman (peastman@drizzle.stanford.edu). | |
* Better rank ordering method by Stefan Gustavson in 2012. | |
* Converted to Javascript by Joseph Gentle. | |
* | |
* Version 2012-03-09 | |
* |
This file contains 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
did:3:bafyreibmpz77bkvq7qavacrivzrq36glz57fd5g3rs4qb2acj3k3qwznnq |
This file contains 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
void main() { | |
vec2 uv1 = vUv; | |
float uTime = vColor*time*10.; | |
vec2 offset = vec2( | |
floor(mod(uTime, 5.)), | |
4. - mod(floor(uTime / 5.), 5.) | |
); | |
uv1 = uv1 / 5.; | |
uv1 += offset/5.; |
This file contains 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
#!/bin/bash | |
# Script to start the Chrome Canary with V8 profiler flags | |
# Configuration | |
LOCATION="${1:-http://localhost:8080}" | |
LOG_DIRECTORY="${2:-logs}" | |
LOG_OUTPUT="${3:-logs/chrome_canary_output.log}" | |
LOG_ERROR="${4:-logs/chrome_canary_error.log}" | |
BASE_TEMP_PROFILE_DIR="${5:-/tmp}" |
This file contains 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
class Line{ | |
constructor(){ | |
this.angle = Math.random()*2*Math.PI; | |
this.offset = Math.random(); | |
this.start1 = 1200; | |
this.start2 = this.start1 + 500*Math.random(); | |
} | |
draw(progress,context){ | |
let pr = (1 - progress + this.offset)%1; |
This file contains 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
const canvasSketch = require("canvas-sketch"); | |
const { fract, lerp, clamp, mapRange,clamp01,sign } = require('canvas-sketch-util/math'); | |
const settings = { | |
// Enable an animation loop | |
animate: true, | |
// Set loop duration to 3 seconds | |
duration: 10, | |
// Use a small size for our GIF output | |
dimensions: [1080, 1920], |