Image by A. M. Stanford
This document includes instructions on how to run a local server on your computer using Python.
You may need to run a local server for all of the features of p5 to work. On a Mac, you should already have Python installed which has an easy built-in way to start up a server from your project. Open up your terminal and try this:
$ python --version
- Discuss the second part of Galloway's Protocol
- Go over last week's assignment
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
#include "blinky.h" | |
Blinky led1(13, 1000); | |
Blinky led2(12, 500); | |
void setup() { | |
// put your setup code here, to run once: | |
} |
Didn't work any of this out, I just stuck things together that I found on the web
First, install the things:
brew install imagemagick
brew install ffmpeg
Then, I have a small (600px wide) iTerm window with a big font. Load Quicktime, and record screen (just the area of the terminal)
Trim and save the mov
somewhere (lets say ~/Documents/term.mov
)
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
# | |
# RWET Programming Exercise B | |
# | |
# This worksheet is also a Python program. Your task is to read the | |
# task descriptions below and then write one or more Python statements to | |
# carry out the tasks. There's a Python "print" statement before each | |
# task that will display the expected output for that task; you can use | |
# this to ensure that your statements are correct. | |
# |
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
# | |
# Worksheet #3 | |
# | |
# This worksheet is also a Python program. Your task is to read the | |
# task descriptions below and then write one or more Python statements to | |
# carry out the tasks. There's a Python "print" statement before each | |
# task that will display the expected output for that task; you can use | |
# this to ensure that your statements are correct. | |
# | |
# In this worksheet, some of the tasks will throw an error that causes |
NewerOlder