Skip to content

Instantly share code, notes, and snippets.

View AdmiralPotato's full-sized avatar
🐐
Probably filling databases with Goats

Admiral Potato AdmiralPotato

🐐
Probably filling databases with Goats
View GitHub Profile
@AdmiralPotato
AdmiralPotato / .gitignore
Last active June 7, 2023 00:51
Trying a 3D scene with 2D overlays
.idea
*.iml
@AdmiralPotato
AdmiralPotato / .gitignore
Last active April 3, 2022 05:00
Just a little sqlite in node
.idea
*.iml
.data
node_modules
@AdmiralPotato
AdmiralPotato / index.html
Last active January 2, 2022 01:46
Can GitHub VsCode in a Gist?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Can VSCode Online edit GitHub Gists?</title>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
@AdmiralPotato
AdmiralPotato / bibodhas_triangles.py
Created February 25, 2015 09:39
Another Blender Python Script to animate a large number of group instances in a really captivating motion pattern. Created with my developer friend Bibodha. https://github.com/bibodha
#So far, my Python scripts for Blender are segmented into
#a "create the objects" script,
#and a "describe their motion over time" script.
#The "motion.py" script must be run and have the "register"
#checkbox clicked on it in the Blender "Text Editor" window,
#so that it will add the driver every time the file loads.
#To use the creation script, you must already have a group named
#"Triangle" defined with some renderable mesh in it so that the
#"creation.py" script can create instances of that group.
#My "Triangle" group has a skinned wireframe triangle in it.
@AdmiralPotato
AdmiralPotato / circular_associations_e.pde
Last active May 7, 2021 11:21 — forked from AdmiralPotato/circular_associations_d.pde
Originally written on 2014-06-09 @ ‏‎02:30:43
//configurable variables
boolean
exportMode = false; //set to true when exporting, false when designing
String
folderPrefix = "../e_480";
int
fps = 24,
outputScale = 1, //set to 2 or 4 when exporting, 1 when designing
windowSize = 480 * outputScale,
numFrames = 48,
@AdmiralPotato
AdmiralPotato / .editorconfig
Last active January 9, 2021 02:54
Tribute to "Connecting Noise Walk"
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
@AdmiralPotato
AdmiralPotato / attack_goat.js
Last active May 19, 2020 03:58
Contents for a bookmarklet that adds an ATTACK GOAT to your page! Hover over an element and press `delete`, then the Goat will ATTACK!
var goatSource = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAB6VBMVEX////8whv8whv8whv8whv8whv8whv8whv8whv8whv8whv8whv8whv8whv8whv8whvkvDZ4o614o614o614o63bukC9s2CPqJR4o614o614o614o614o614o614o614o62QrqiLsLmfvsWyytCqxcuRsbF4o614o63M2tqWt797pa/K29+GrLWNsbq/1Ni3ztOAqLKsx82Ps7ukwciiwMZ4o62ausKBqbKHrbbC1dqBqbN5pK2RtLx7pa+IrreRtLx7pa94o618pq94o63B1dmwyc/T4eSdvMS0zNKEq7T8whvbukC6smShrYCQqZJ4o62ApaSZq4mxsG3CtFvjvDaIp5upr3eZsqWZs6m7ybrV4uXu8/X////d6OrM2tiyxbiIqqeyxr67y8GRr6rE08v3+frm7vDM3OCiwMaIrreRtLzH2d22zdPY2NiXl5fl5eWKioovLy/y8vKkpKRvb2+busLLy8t8fHxiYmJVVVWXuMDM3eDZ5ejX4+fa5ui+vr6xsbGrxszf6evv9PWAqbLu9PW80dbN3eB7pa+IrrZHR0dISEiGrbV6pa+zy9E7Ozu/1Nimwsm70daZusGMsbmAqLLE19uyy9B/qLH1+PmJr7fS4OSqxcyYuMCoxMrI2t670NWLsLifvsVPs21lAAAASnRSTlMAEJDAsIAwIGCg8OBQQNBwrEBggHC/qHQQUKDwsCCQwP7g4uDk6zDQ/eL29ujk7vDu6+jt6ODr8Ov3+/719e3r+ej3fvn59dzo5WAeJyQAAAABYktHRACIBR1IAAAAB3RJTUUH4QYCEwsWPcUuHwAAB+dJREFUeNrVW/d/20QUV+qmbpq2IMuA
@AdmiralPotato
AdmiralPotato / .gitignore
Last active March 8, 2019 23:03
Wiggly Things
.idea
*.iml
@AdmiralPotato
AdmiralPotato / circular_associations_f.pde
Last active February 26, 2019 08:36 — forked from AdmiralPotato/circular_associations_e.pde
Originally created on 2014-06-14 @ ‏‎11:45:20
//configurable variables
boolean
exportMode = true; //set to true when exporting, false when designing
String
folderPrefix = "../f_480";
int
fps = 24,
outputScale = 1, //set to 2 or 4 when exporting, 1 when designing
windowSize = 480 * outputScale,
numFrames = 48,
@AdmiralPotato
AdmiralPotato / index.html
Last active February 25, 2019 15:24
Chrome has bad performance rendering SVG circles
<!DOCTYPE html>
<html lang="en">
<head>
<title>Chrome has bad performance rendering SVG circles</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, maximum-scale=1, user-scalable=no">
<style>
html, body {
height: 100%;
}