- slides
- Aerial Bold Project:
- ml5js.org
This file contains hidden or 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
<html> | |
<head></head> | |
<body> | |
<img src="JL-sq.jpg" alt="" id="joey" /> | |
<script> | |
const joey = document.querySelector('#joey'); | |
toDataURL('JL-sq.jpg', function(dataUrl) { | |
const inputs = { |
This file contains hidden or 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
const entries = ` | |
10/12/2018 (Vancouver, Canada) | |
Today I flew to Vancouver and it was my first time in Canada. I can't believe how beautiful it is here. | |
My favorite thing about the city is how green it is and how beautiful the mountains are. I also love being on the ocean. | |
10/28/2019 (New York City, USA) |
OK so here’s what I ended up doing:
let’s say I just I cloned magicbook
cd magicbook
npm install
npm install -g ./
the last command adds it the reference to this repo to the global node_modules
This file contains hidden or 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
from PIL import Image | |
import os | |
# Getting the current work directory (cwd) | |
thisdir = os.getcwd() + "/images/santiago_urban_200/" | |
crop_rectangle = (36, 36, 164, 164) | |
# r=root, d=directories, f = files | |
for r, d, f in os.walk(thisdir): | |
for file in f: |
- mac show hidden files: https://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
- then go through and delete stuff: https://stackoverflow.com/questions/11177954/how-do-i-completely-uninstall-node-js-and-reinstall-from-beginning-mac-os-x
- reinstall nodejs using brew: https://medium.com/@kkostov/how-to-install-node-and-npm-on-macos-using-homebrew-708e2c3877bd
This file contains hidden or 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
let myJson = { | |
"type": "list", | |
"name": "The P5.js Landscape", | |
"description": "This is a list of the P5.js landscape.", | |
"features": [ | |
{ | |
"type": "list", | |
"name": "Handy P5.js Tools", | |
"description": "This is a list of handy p5.js Tools ranging from commandline tools, project generators, and web editors.", | |
"features": [ |
This file contains hidden or 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
let myList = { | |
"type": "list", | |
"name": "Hello world", | |
"description": "nestednesss!", | |
"features": [ | |
{ | |
"clientId": "-ACEnpvvPe", | |
"type": "list", | |
"name": "🌈", | |
"description": "", |
This file contains hidden or 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
name: "Handy P5.js Tools" | |
description: "This is a list of handy p5.js Tools ranging from commandline tools, project generators, and web editors." | |
type: "SingleList" | |
features: | |
- url: "https://p5js.org/" | |
name: "p5js website" | |
description: "p5js is a javascript library to make coding more accessible to everyone" | |
- url: "https://editor.p5js.org/" | |
name: "The p5js web editor" | |
description: "A handy web editor for writing code in the browser and seeing your magic come alive" |
This file contains hidden or 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
name: "Hello Lovely People!" | |
description: "Making shareable and usable lists of links make my heart warm" | |
features: | |
- url: "https://itp.nyu.edu" | |
name: "ITP/IMA @ NYU" | |
description: "Based at NYU" | |
- url: "https://thecodingtrain.com/" | |
name: "@Shiffman's Coding Train" | |
description: "All aboard the Coding Train with Daniel Shiffman, a YouTube channel dedicated to beginner-friendly creative coding tutorials and challenges." | |
- url: "https://p5js.org/" |