Skip to content

Instantly share code, notes, and snippets.

View cdr6934's full-sized avatar

Chris Ried cdr6934

View GitHub Profile
@cdr6934
cdr6934 / OpenSCAD
Last active December 18, 2023 06:25
module arm(r, marg) {
union() {
for(i = [0:1:20])
{
translate([rands(-5,5,1)[0],rands(-5,5,1)[0],i*r*marg]) {
sphere(r);
}
}
}
}
@cdr6934
cdr6934 / detect-js-framework.js
Created August 15, 2023 18:28 — forked from rambabusaravanan/detect-js-framework.js
Detect JS Framework used in a Website
// Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I)
if(!!window.React ||
!!document.querySelector('[data-reactroot], [data-reactid]') ||
Array.from(document.querySelectorAll('*')).some(e => e._reactRootContainer !== undefined || Object.keys(e).some(k => k.startsWith('__reactContainer')))
)
console.log('React.js');
if(!!document.querySelector('script[id=__NEXT_DATA__]'))
console.log('Next.js');

Keybase proof

I hereby claim:

  • I am cdr6934 on github.
  • I am generatecoll (https://keybase.io/generatecoll) on keybase.
  • I have a public key ASCPsV2GYmdypv--V4yqOmzdUPejjuWO_nNuxSQXWvtZYQo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am cdr6934 on github.
* I am generatecoll (https://keybase.io/generatecoll) on keybase.
* I have a public key ASCPsV2GYmdypv--V4yqOmzdUPejjuWO_nNuxSQXWvtZYQo
To claim this, I am signing this object:
const drawPaperTexture = (x, y, w, h) => {
let cx, cy, rng, cs;
rng = 100;
push();
translate(x, y);
let a = (w + h) * 4;
for (let i = 0; i < a; i++) {
noStroke();
fill(255, R() * 255);
I am attesting that this GitHub handle cdr6934 is linked to the Tezos account tz1faciLfucCMGZqsHPda7hqAvmMRumqxm7B for tzprofiles
sig:edsigtsF33Uhs6rBSHC5UNEHuT2r7MxdE7mwBrdD4T86EzsMdwJcQL13wjCdHPmFb5DHmpcDaPAHLZjNAcSP1wWoH4rJohBard2
I am attesting that this GitHub handle cdr6934 is linked to the Tezos account tz1faciLfucCMGZqsHPda7hqAvmMRumqxm7B for tzprofiles
sig:edsigtsF33Uhs6rBSHC5UNEHuT2r7MxdE7mwBrdD4T86EzsMdwJcQL13wjCdHPmFb5DHmpcDaPAHLZjNAcSP1wWoH4rJohBard2
@cdr6934
cdr6934 / Spiraling Arc
Created March 1, 2021 14:58
Spiraling Arc
/*
Programing: Explorations in the Arc Realm
Name: Chris Ried
*/
ArcLine[][] al;
float start_arc, stop_arc, r, diff, margin, x, y, nf;
float noise_factor;
int n;
void setup()
@cdr6934
cdr6934 / noiseField.pde
Last active December 19, 2020 16:14
Following noise field that looks over the entire spectrum
/*
Programing: Noise Field
Name: @Generate.Collective
Color functions are tewmplates used by @manolode
*/
///////////////////////////////////////////////////////////
int move, n;
@cdr6934
cdr6934 / circular_wealth.pde
Created November 28, 2020 21:53
Circlular Wealth
float n,r, div,margin;
int iter;
color a, b;
void setup()
{
size(1000,1000);
background(255);
n = 6;
r = 5;
a = getColor();