IT IS THE FUTURE. THE DISTANT FUTURE.
I have no idea what I'm doing here. This was a sketch that I made years and years ago, but I thought I would use it as a text for bl.ocks.org because it looks dope af to me right now.
/** | |
* Created with IntelliJ IDEA. | |
* User: admiral | |
* Date: 11/17/13 | |
* Time: 05:49 AM | |
* No idea yet! | |
*/ | |
import java.lang.Math; | |
import processing.core.*; |
#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 | |
#"Dot" defined with some renderable mesh in it so that the | |
#"creation.py" script can create instances of that group. | |
#My "Dot" group has a 5 level subdivided Icosphere in it. |
//REQUIREMENTS: The following programs must be installed and accessible in your PATH | |
// node > 6 | |
// imagemagick's command line tool "convert" | |
// gifsicle | |
//USAGE: Change params at the top to your liking. `node gif_process.js` starts it up. | |
// EXECUTES ALL TASKS IN PARALEL. | |
// If you run it like this, it will CONSUME YOUR WHOLE COMPUTER (100% cpu, 100% memory) for a few minutes while it works. | |
//DISCLOSURE: I was running terribly low on sleep when I wrote this. It's a tool. It gets a job done like ten times ever. Don't judge me on this. The code I write for my day job is like way better and I care a lot more about it because I have to maintain it all the time. | |
//LICENSE: MIT |
The original work that inspired me is fantastic. I wanted so see if I could pull it off real quick and easy in SVG. Answer is mostly, but by the time I felt like going to bed, I realized that they used decreasing space between the lines, and mine was constant. Check the original, it's super relaxing to watch - it's quite a bit faster than mine though.
Original work: Generative Pattern Drawing: Optical Art with Lines (Made with code / Processing)
//REQUIREMENTS: The following programs must be installed and accessible in your PATH | |
// node > 6 | |
// imagemagick's command line tool "convert" | |
// giflossy - which can be installed with `npm install -g giflossy`, but only on mac and linux?? | |
//USAGE: Change params at the top to your liking. `node gif_process.js` starts it up. | |
// EXECUTES ALL TASKS IN PARALEL. | |
// If you run it like this, it will CONSUME YOUR WHOLE COMPUTER (100% cpu, 100% memory) for a few minutes while it works. | |
//DISCLOSURE: I was running terribly low on sleep when I wrote this. It's a tool. It gets a job done like ten times ever. Don't judge me on this. The code I write for my day job is like way better and I care a lot more about it because I have to maintain it all the time. | |
//LICENSE: MIT |
#SVG Symmetry Thing I'm going to try to make something inspired by the works of Atticus Bones.
<!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%; | |
} |
//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, |