Skip to content

Instantly share code, notes, and snippets.

View nathanielstenzel's full-sized avatar

Nathaniel Stenzel nathanielstenzel

  • Springfield, IL
View GitHub Profile
@nathanielstenzel
nathanielstenzel / sceenart.glsl
Last active July 16, 2023 02:29
A shader based screenart that can be seen at https://glslsandbox.com/e#104619.0
#extension GL_OES_standard_derivatives : enable
precision highp float;
uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;
void main( void ) {
@nathanielstenzel
nathanielstenzel / scale.py
Last active February 5, 2020 04:20
Gcode scaler script
#Written by Nathaniel J Stenzel on February 4, 2020
#The purpose of this is to scale up gcode after it is already sliced
#You can find a copy of this script at https://gist.github.com/nathanielstenzel/2400c1a1f9cd7b137281b7a68c31f08f
import sys
xscale = yscale = zscale = escale = 100.0
params = {}
for param in ["xscale","yscale","zscale","escale"]:
params[param] = locals()[param]