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
var userIP | |
function setup() { | |
createCanvas(windowWidth,windowHeight) | |
//go to https://www.ipify.org/ for more information on the api in use here | |
loadJSON('https://api.ipify.org?format=json',function(returnedData){ | |
userIP = returnedData.ip //put it in the global scope. | |
console.log(userIP); | |
}) |
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 gridSize = 15; //set the size of the grid | |
//we're doing everything inside of the setup so that we can clearly see the results, what happens in the draw loop? | |
function setup() { | |
createCanvas(windowWidth,windowHeight); // create a new canvas that fills the screen. | |
background(0,0,255)// set the background to blue | |
stroke(255) // set the stroke color to white | |
strokeWeight(4) //set the stroke to 4px weight | |
//nested for loop, remmeber, in this case it will move over one X column, then draw down all of the y's, move over one x col, draw all of the y's, etc. |
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
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<link rel="stylesheet" href="simplegrid.css"> | |
<link rel="stylesheet" href="testing.css"> | |
</head> | |
<body> |
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
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> | |
<!-- you dont really need this file, its just to show you how to use this grid system! --> | |
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> | |
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> |
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
/* | |
use this to convert an indexhibit over and over site to a flatfile markdown structure. | |
change the input path for each indexhibit subsection folder, and run it for each section. | |
dont forget to copy each output after completion as this script will auto-delete the output folder upon completion for further runnings. | |
2019 – MIT | |
Ben Moren | |
http://benmoren.com | |
*/ |
What if we could transform our online networks from something we passively receive to something we actively create? Folder Poetry is the practice of using the structure of computer folder organization as a new kind of poetic form like the haiku or iambic pentameter. By naming and nesting folders and files, we can create unfolding narratives, rhythmic prose, and choose-your-own-adventure poetry.
- Folder Poetry is the practice of using the structure of computer folder organization as a new kind of poetic form like the haiku or iambic pentameter. By naming and nesting folders and files, we can create unfolding narratives, rhythmic prose, and choose-your-own-adventure poetry.
- The Terminal is desktop application to control and make changes to your op
OlderNewer