Skip to content

Instantly share code, notes, and snippets.

View MacroMachines's full-sized avatar

Nico Raftis MacroMachines

View GitHub Profile
@MacroMachines
MacroMachines / fun-with-jointjs-demo-full.markdown
Created December 30, 2017 03:31
Fun with JointJs - DEMO (Full)
@MacroMachines
MacroMachines / index.html
Created December 30, 2017 02:57
Node Editor UI
<svg id="svg">
</svg>
@MacroMachines
MacroMachines / index.html
Created December 26, 2017 14:46
Molecules
<body></body>
@MacroMachines
MacroMachines / index.html
Created December 21, 2017 13:43
My Shadertoy Bubbles V3
<div id="container"></div>
<img src="https://booth.n-e-o.vision/wp-content/uploads/2017/10/NEO_BOOTH_BusinessCard_FrontWEB_noborder.png" />
@MacroMachines
MacroMachines / Starfields2.lua
Created August 4, 2017 15:40 — forked from Bri-G/Starfields2.lua
Starfields 3 - this one spins around a star matrix
-- StarfFields by Bri_G based on HTML by Seb Lee-Delisle
-- Rotating field around a central star matrtix
--[[ if require ~= nil then
require("loveCodea")
end --]]
function setup()
--
fov = 250
@MacroMachines
MacroMachines / Iso
Created July 19, 2017 07:17
Pathfinding on an 'infinite' isometric grid.
--# Main
function setup()
displayMode(FULLSCREEN)
Grid.init(64,32)
touches = 0 -- Number of touches
vx = 0; vy = 0 -- View position
-- Create some tiles using the class
goal = Tile(-10, 0, 'yellow')
start = Tile(0, 0, 'green')
@MacroMachines
MacroMachines / visualizer.py
Created July 10, 2017 10:12 — forked from tjb0607/visualizer.py
a 2D audio visualizer script for Blender 2.5+ (v0.3)
# To use this script, you must first change a few things.
# First, you'll want to change the filepath for the sound file.
# This is on line 76. Second, you might want to change the materials or the settings.
# To render this, you'll need to set the background color, enable Only Render on the display window, and render it with OpenGL (it's much faster and most optimal for 2D renders.)
# LICENSE = wtfpl
# VERSION = 0.3
import bpy
def makeMaterial(name, diffuse, alpha):