Wednesday, June 17, 2020

TouchDesigner: Hello Banana!

TouchDesigner: 
Hello Banana!



I made this video with TouchDesigner by following the tutorials from the TouchDesigner Website. The tutorial videos total about 40 minutes and they move along really fast! I had to pause and go back a few times to get things right. Overall, I feel like I have a much better understanding of how the 6 types of components work together. While the tutorial doesn't specifically explain how to export a video, it's really intuitive. After animating the banana with an LFO (Low Frequency Oscillator) driving a math component, I applied some shading and rendered the video.

TouchDesigner is a visual programing language made up of 6 Families of Operators that are combined into Components. These components can be saved for later and combined into other projects. Here's a breakdown of the Operator Families:

OPERATOR FAMILIES (6 of them):
·     TOPS: Texture Operators – Images
·     CHOPS: Channel Operators – Motion, Control Signals, and Audio
·     SOPS: Surface Operators – Polygons, 3D lines and other Surfaces
·     MATS: Material Operators – Textures & Shading for 3D objects
·     COMP: Components (3 categories)
·     DATS: Data Operators – Manipulate Text Strings (free-form text & tables).

(Darker Colored Operators are GENERATORS)

(Lighter Colored Operators are FILTERS)

Here's a couple screen shots of my TouchDesigner Project while I was working on the moving banana:



The tutorial can be found at:

Video_01

Video_02



Thursday, June 11, 2020

Button & LED, and LED Bar Graph

Button & LED, and LED Bar Graph


Freenove_Tutorial Chapters 2 & 3 expand on what was previously learned.

In Chapter 2, a switch is added to the circuit to control the on/off of the LED. In Chapter 3, we use a 10 LED light bar to create a waterfall effect. These exercises were really easy to work through, and required minimal trouble shooting. 



Resources:
http://freenove.com/tutorial.html

Flashing LED = Hello World!


Programmers are familiar with "Hello World!" For a young programmer, the first program often displays the this familiar text when ran. The equivalent for physical computing, is getting an LED to flash...


I followed the tutorial guide from Freenove to accomplish this. The guide can be downloaded from their site.


The assets for this included the Raspberry Pi 4 starter kit, Freenove Ultimate Starter Kit for Raspberry Pi, monitor, keyboard, and mouse.







This process involved setting up the components with the breadboard, and using terminal to download codes, access directories, run code, as well as compiling code (with Geany). Python and C programming languages were both used and tested... The most challenging part of this process was updating "wiringPi" and checking that it matched up with the GPIO pins. More on this cam be found at https://projects.drogon.net/raspberry-pi/wiringpi/pins/

Since I followed the tutorial and it is accessible via the link, I will not post the details of the steps here... However, here are a few screen images from my process.










Sources:
Freenove Ultimate Starter Kit for Raspberry Pi Download Resources:
http://freenove.com/tutorial.html

CanaKit, Raspberry Pi 4 Starter Kit
https://www.canakit.com/raspberry-pi-4-starter-kit.html


Wednesday, June 10, 2020

Physical Computing: Getting Started (Part II)

Physical Computing: Getting Started (Part II)


What was my goal again? oh yeah...

The goal is to sync video, lights, and pre-recorded audio with a live performance... Well, that was the original idea. I'm traveling on my own path and my goals are shifting. I'm interested in Stop Motion Animation, Installation Art, Interactive Multimedia, Music Production, and Post Production for video. Technology now more accessible than ever, and I see it as an important component in my future. I have a DIY attitude, so I'm diving in... In addition to TouchDesigner, I'm learning about Physical Computing with hands on projects and exercises. I'll being writing code in python that will run in TouchDesigner, and code that will run on a Raspberry Pi to control electronic circuits that I will build.

It's time to Make Stuff!!!



Step 1: Acquire Books and Materials


Required Books:

Physical Computing 1stEdition
Author: Dan O’Sullivan & Tom Igoe
Publisher: Thomson; 1st edition (May 28, 2004)
ISBN-13: 978-1592003464
ISBN-10: 159200346X
Cost: $18.95
https://www.amazon.com/Physical-Computing-Sensing-Controlling-Computers/dp/159200346X

Making Things Talk: Using Sensors, Networks, and Arduino to See, Hear, and Feel Your World 3rd Edition
Author: Tom Igoe
Publisher: Make Community, LLC; 3 edition (August 24, 2017)
ISBN-13: 978-1680452150
ISBN-10: 1680452150
Cost: $23.66
https://www.amazon.com/Making-Things-Talk-Sensors-Networks/dp/1680452150/ref=pd_bxgy_img_2/132-0507248-3695602?_encoding=UTF8&pd_rd_i=1680452150&pd_rd_r=c4abccdc-f471-4734-9180-cf5b9d52d975&pd_rd_w=O5Arj&pd_rd_wg=cueZ3&pf_rd_p=4e3f7fc3-00c8-46a6-a4db-8457e6319578&pf_rd_r=YAY58MXDGWR3XERN3MDB&psc=1&refRID=YAY58MXDGWR3XERN3MDB

Raspberry Pi Cookbook: Software and Hardware Problems and Solutions 3rd Edition Author: Simon Monk
ISBN-13: 978-1492043225
ISBN-10: 1492043222
Publisher: O'Reilly Media; 3 edition (November 5, 2019)
Cost: $29.49
https://www.amazon.com/Raspberry-Pi-Cookbook-Software-Solutions-dp-1492043222/dp/1492043222/ref=mt_paperback?_encoding=UTF8&me=&qid=

Required Materials:

CanaKit Raspberry Pi 4 4GB Starter Kit - 4GB RAM
Kit Includes:
· Raspberry Pi 4 4GB Model B with 1.5GHz 64-bit quad-core ARMv8 CPU (4GB RAM)
· 32GB Samsung EVO+ Micro SD Card (Class 10) Pre-loaded with NOOBS
· CanaKit Premium High-Gloss Raspberry Pi 4 Case with Integrated Fan Mount
· CanaKit Low Noise Bearing System Fan
· Micro HDMI to HDMI Cable - 6 foot (Supports up to 4K 60p)
· CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply with Noise Filter - Specially designed for the Raspberry Pi 4 (UL Listed)
· CanaKit USB-C PiSwitch (On/Off Power Switch for Raspberry Pi 4)
· Set of Heat Sinks
· USB MicroSD Card Reader
· CanaKit Quick-Start Guide and CanaKit GPIO Reference Card
Manufacturer: CanaKit
ASIN:B07V5JTMV9
UNSPSC Code: 43000000
Cost: $99.99
https://www.amazon.com/CanaKit-Raspberry-4GB-Starter-Kit/dp/B07V5JTMV9/ref=pd_bxgy_2/132-0507248-3695602?_encoding=UTF8&pd_rd_i=B07V5JTMV9&pd_rd_r=6be675b9-d510-43aa-ba48-3232129f99a8&pd_rd_w=rXgHV&pd_rd_wg=Ycnu0&pf_rd_p=4e3f7fc3-00c8-46a6-a4db-8457e6319578&pf_rd_r=GBV4B18CCPG8GBEG4T1J&psc=1&refRID=GBV4B18CCPG8GBEG4T1J

Freenove Ultimate Starter Kit for Raspberry Pi 4 B 3 B+, 434 Pages Detailed Tutorials, Python C Java, 223 Items, 57 Projects, Learn Electronics and Programming, Solderless Breadboard

Manufacturer: Freenove
ASIN: B06W54L7B5
UNSPSC Code: 43000000
Cost: $49.95






Soldering Iron Kit - Soldering Iron 60 W Adjustable Temperature, Digital Multimeter, Wire Cutter, Stand,Soldering Iron Tip Set, Desoldering Pump, Solder Wick, Tweezers, Rosin, Wire - [110 V, US Plug]

Brand: Plusivo
Ean: 0721248989277
Cost: $31.99
https://www.amazon.com/dp/B07Q2B4ZY9/ref=cm_sw_r_tw_dp_U_x_F.-WEb589MVG7

Required Software:
TouchDesigner
Manufacturer: Derivative (https://derivative.ca)
Educational Version: For Schools, Faculty and Students. Not for paying projects.
Delivery Method: Internet Download & Activation
Cost: $300
https://derivative.ca/product/touchdesigner-educational

Processing
Manufacturer (Processing Foundation)
Cost: Free / Donate
https://processing.org

Step 2: Unboxing











Step 3: Assemble, Connect, and Setup the Raspberry Pi
with an Operating System, and Connect to a Wireless Network.





























Physical Computing: Getting Started

Physical Computing: Getting Started 

(Part I)

I was inspired by the performances of Pink Floyd and Queensryche as a teenager. The integration and synchronization of Moving Lights, Video, and Sound transformed their shows into something magical. Everything came alive!

Pink Floyd, "Shine On You Crazy Diamond" (parts 1-5, 7) - 20 October, 1994; Earls Court, London, UK.
https://www.youtube.com/watch?list=PL0SqtI95X6o1UTWsEHh4GiMu_N1II1n3c&time_continue=5&v=4oK1Jco6JFM&feature=emb_logo

Queensryche, "The Mission"Live From Wisconsin, 1991
https://www.youtube.com/watch?v=bglInWLoxdc&list=PLt6J2kPAY1VARFHqD5e-uxyCaGt9UhOgP&index=4&t=0s

After being inspired, the question becomes, "Where do I start?" 

This is my process...

Step 1: Realize that "You Don't Know What You Don't Know!"

Step 2: Research, research, research! Read articles, web forums, listen to interviews, ask questions, join in discussions, learn about the technology used... Research the people involved... Their background, influences, teachers, and creative process...

Step 3: Jump in and try to make something before it's too late! Research gives you context... It's just that though, it's not the main event... You need to participate... Be hands on!!!

Step 4: Start at the beginning... If you don't know where that is, just get started.

Step 5: After a short period of time trying to make something, you start to "Know What You Don't Know!" Wait what? Yeah, I don't need to say that again... You know that you don't know how to program or operate any of the equipment needed. You're starting to know what equipment is needed, but you're not sure where to get it... Or you've found the equipment, but it's way to expensive, takes up too much space, takes too much electricity, and requires a huge crew to use... What know?

Step 6: Become a "Creative Problem Solver". Identify your needs and write down your ideas. Keep a working journal, a sketchbook of sorts for your ideas. What things need to be able to interact and exchange information? What technologies exist that might help you achieve your goals? Does something exist that will work "off the shelf", or do you need to hack or create something new?

Step 7: Assess your skill and acquire new ones that will help you realize your goal.

Step 8: Refine your plan and identify areas that aren't working... You'll need to move smoothly and quickly from Macro to Micro views and back... "See the Forest before the trees"...

Step 9: Make something!!! You've improved your skills and started to refine your plan... The plan isn't perfect... Which is ok! Once you have a 70% solution, it's time to get moving!!! The plan will continue to change once you get started anyways.

Step 10: You have found that somethings may still not work, but something probably do. Success!!! At least partially... Even if it's just a small thing, you now "Know That You Know".

Bonus Round:
Keep working the process and refining your plan until you achieve the thing you are trying to achieve. There will be good and bad days. The winners get up when they get knocked down, and they never stop moving. If you fall, get up! If you stop, get moving again! If you can't, do it anyways!!! If you break, repair yourself and get back out there!!! If you grow old and have forgotten your dream, take a walk and remember what it was... Until you take your last breath, you still have time... After your last breath, someone else will still have time... Keep the Dream Alive!!!