This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Rhino.Geometry as rg | |
# Lorenz Attractor equations | |
def lorenz(x, y, z, a=10, b=28, c=8/3): | |
x_dot = a*(y - x) | |
y_dot = x*(b - z) | |
z_dot = x*y - c*z | |
return x_dot, y_dot, z_dot | |
dt = 0.01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lorenz Attractor equations | |
def lorenz(x, y, z, a=10, b=28, c=8/3): | |
x_dot = a*(y - x) | |
y_dot = x*(b - z) | |
z_dot = x*y - c*z | |
return x_dot, y_dot, z_dot | |
dt = 0.01 | |
num_steps = 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Windows | |
Thumbs.db | |
Desktop.ini | |
# macOS | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// define the document width (in points) | |
var width = 100; | |
// define the document height (in points) | |
var height = 100; | |
// create a new document | |
var docPreset = new DocumentPreset(); | |
var presets = app.startupPresetsList; | |
var preset = presets[0]; // Default: Art & Illustration (Doesn't really matter but addDoocument needs it) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- AppleScript to create a new file in Finder | |
-- | |
-- Use it in Automator, with the following configuration: | |
-- - Service receives: no input | |
-- - In: Finder.app | |
-- | |
-- References: | |
-- - http://apple.stackexchange.com/a/129702 | |
-- - http://stackoverflow.com/a/6125252/2530295 | |
-- - http://www.russellbeattie.com/blog/fun-with-the-os-x-finder-and-applescript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Equations for Organic Motion - Test Sheet</h1> | |
<div id="more"> | |
<span class="arrow">↑</span> | |
Resize for more | |
</div> |