Particle background
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
#!/bin/bash | |
# Elgato Facecam | |
v4l2-ctl --set-ctrl=brightness=85 # (default 43) 0-255 | |
v4l2-ctl --set-ctrl=contrast=2 # (default 5) 0-5 | |
v4l2-ctl --set-ctrl=saturation=28 # (default 32) 0-63 | |
v4l2-ctl --set-ctrl=white_balance_automatic=0 # BOOL 0-1 | |
v4l2-ctl --set-ctrl=power_line_frequency=2 # 2 = 60 Hz, 0 off | |
v4l2-ctl --set-ctrl=sharpness=3 # (default 2) 2-4 | |
v4l2-ctl --set-ctrl=zoom_absolute=1 # default=1 1-31 |
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
import * as THREE from 'https://cdn.skypack.dev/[email protected]'; | |
class Smoke { | |
constructor(options) { | |
const defaults = { | |
width: window.innerWidth, | |
height: window.innerHeight | |
}; |
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
/** | |
* Raindrop fragment shader, being used by PIXI.js in the EffectCanvas object | |
* {{uniforms: {time: {type: string, value: number}, iResolution: {type: string, value: [*]}}, fragment: string}} | |
*/ | |
const shaderData = { | |
uniforms: { | |
iResolution: { | |
type: 'v2', | |
value: [ | |
window.innerWidth, |
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
let scene, | |
camera, | |
renderer, | |
cloudParticles = [], | |
rainParticles = [], | |
flash, | |
rain, | |
rainGeo, | |
rainCount = 15000; | |
function init() { |
This guide will allow you to deploy a fresh Alpine Linux install into a Kubernetes K8 cluster in less than 10 minutes.
I went to learn Kubernetes recently and I built a k3 cluster using Alpine in an hour or so, it was a great experience. I figured the next step would be K8s, but I found no material on K8s for Alpine. This guide is the result of my first pass and the incorporations of high quality notes from the contributers. Kubernetes 🦄 is awesome.