Skip to content

Instantly share code, notes, and snippets.

K.-Michael Aye michaelaye

  • LASP
  • Boulder, CO, United States
Block or report user

Report or block michaelaye

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
michaelaye /
Created Mar 14, 2019 — forked from rossant/
Very simple ray tracing engine in (almost) pure Python. Depends on NumPy and Matplotlib. Diffuse and specular lighting, simple shadows, reflections, no refraction. Purely sequential algorithm, slow execution.
MIT License
Copyright (c) 2017 Cyrille Rossant
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
michaelaye /
Created Dec 30, 2016 — forked from sklam/
Numba optimized raytracing. From 23seconds to 9seconds.
from __future__ import print_function, division
from timeit import default_timer as timer
import numpy as np
import matplotlib.pyplot as plt
from numba import njit
w = 400
h = 300
View gist:c5b5d376f379eee93320
"metadata": {
"name": "",
"signature": "sha256:2671bcf8ad936f12851c3856c8114fbd59a36e08903b1337ca903c79059900fd"
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
"cells": [
View gist:8b7f5be091224bf9e985
def render_split(time, color, offset = -4*pd.datetools.Minute(15)):
if(color is not None):
time + offset,
time + pd.datetools.Minute(15) + offset,
facecolor = float(color % 12)/12 ),
linewidth = 0,
alpha = 1.0,
michaelaye / 0_reuse_code.js
Created Apr 3, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View private.xml
<?xml version="1.0"?>
You can’t perform that action at this time.