Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

165 total results found

Week 3 - Iteration, arrays, objects and pixel arrays

Creative Coding Workshop: Introduction to Creative Coding

...array/ 15_image_pixel_array/ 16_webcam_capture/ Local web se ... is only performed once. If we want to perform a conditional oper ...riables can be used in the same way as you use any other variable. ...our own objects is a very handy way to encapsulate related functio...

Pi War 2024 Log

Raspberry Pi

Documentation of Pi War 2024 Pi Wars is an international, challeng ...ight, and the other controls forward and backwards. Problems with batteries Thi ... print("Hello.") def right_forward(): motor1a.value(0) m ... motor2b.value(1) def left_forward(): motor2a.value(0) m...

Using a Adafruit 1.8" TFT Display Shield V2

Physical Computing Tutorials

...d setup(void) { Serial.begin(9600); while (!Serial); // ...XX_GREEN); tft.setCursor(0, 60); tft.print("Up"); bu ...int("1"); buttonhistory |= 16; } if(! (buttons & TFTSHIEL ...rint("3"); buttonhistory |= 64; } if (! (buttons & TFTSHI...

Using a Joy-IT TFT LCD Display

Physical Computing Tutorials

...ST77XX_WHITE); lcd.setTextSize(6); lcd.print("Joy-IT"); } void ...lude <Adafruit_ST7789.h> // Hardware-specific library for ST7789 # ...S, DC, RST); float p = 3.1415926; void setup(void) { Serial.b ...egin(9600); Serial.print(F("Hello! ST...

Using a Joy-IT 1.3" 128x64 OLED display

Physical Computing Tutorials

... more flexible screens. If you want to use the display for animat ...background: #fff; box-shadow: 0 6px 20px rgba(20,20,30,0.06); border-radius: 8px; overflow: ...: 15px; } th { font-weight: 600; } tr:last-child td { bor ...ture { width: 22%; font-weight: 600; background: #f7fbfb; } @...

How to use Waveshare E-Paper Display with Raspberry Pi

Raspberry Pi Tutorials

What is a Waveshare E-Paper Display? A Waveshare E-Paper Display is an el ... tutorial, we will be using the Waveshare model epd7in5V2, a Raspb ...nstall spidev Download Python Example code from Github git clone ... https://github.com/waveshare/e-Paper.git Go to the D...

How to Display Animation on Waveshare E-Paper Display

Raspberry Pi Tutorials

How to use Waveshare E-Paper Display? Please ...olution to fit the display - 800x480 pixels Lower the framerate to 10 or ... 12 fps Export the video to jpg sequences ...__file__))), 'lib') if os.path.exists(libdir): sys.path.appen ...port logging import random from waveshare_epd import epd7in5_V2 im...

8th Wa...

Finding your way around Spark AR (UI Explainer)

Spark AR First Look at Spark AR

Watch this video by Meta explaining the UI and different panels in Spark AR

How to use MatrixPortal M4

Physical Computing Tutorials

What is MatrixPortal M4 The MatrixPortal M4 is a development board ... ATSAMD51 microcontroller (Cortex M4) and has built-in Wi-Fi supp ...e some key features of the MatrixPortal M4: Microcontroller: ATS ...AMD51, Cortex M4 processor running at 120 MHz...

Using a Monochrome 1.3" 128x64 OLED display

Physical Computing Tutorials

...we will be using Adafruit SSD1306 128 x 64 OLED with I2C communication. I ...ou will need the Adafruit_SSD1306 Library. We have a tutorial on ...GFX.h> #include <Adafruit_SSD1306.h> #define SCREEN_WIDTH 128 // ...in pixels #define SCREEN_HEIGHT 64 // OLED display height, in pix...

How to build to a Meta Quest 2

Unreal Engine Basics Building to a VR headset

...ing a VR app for the Meta Quest 2 from Unreal Engine involves a s ... Enable Developer Mode on Quest 2: On your Meta Quest 2, navigate to Settings > Oculus ...Quest 2 > More Settings > Developer Mod ...rting point for your Meta Quest 2 project. Configure Proje...

How to make Animation on NeoMatrix

Physical Computing Tutorials

What is NeoMatrix? NeoMatrix is a grid lined up with mutiple ... Neopixel. Neopixel is addressable LEDs, meaning ... +5V to 5V GND to GND Library WarningDownload version 1.9.0 or b ...started The example shows the upward arrow first and then the anim...

Arrays

Programming Tips and Tricks

...ode, as so: var myVariable = 200; console.log(myVariabl ...n our sketch. In the following example I create variables X and Y, and use them to as the x and y coordinates in an ellipse ... function var x = 100; var y = 100; functio ...function draw() { background(220); ellipse(x, y, 20,20);...

Arduino Nano 33 Sense Rev2- IMU sensor

Physical Computing Tutorials

...combination of two modules, the 6-axis BMI270, and the 3-axis BMM15. To use the IMU (inerti ...o_LSM9DS1 which is used in all example code. Replace #include <Ar ...rduino_BMI270_BMM150.h> in all existing codes if you are using Re ...Arduino_BMI270_BMM150.h" float x, y, z; int degreesX = 0; int de...

Interactive Projections

Projection Mapping

...t. This can be done in multiple ways, this tutorial will briefly i ...rary and includes a variety of examples which can be implemented ... just copy and paste an OpenCV example into Touchdesigner, we wil ...more about OpenCV, an in-depth explanation of our following steps...

Transporter - 270 Projection Area

270 Projection Space

How to use a EMG Muscle Sensor

Physical Computing Tutorials

... below. When the forearm is relaxed on the table, the built-in LE ... be off. When the forearm is flexed, the built-in LED will be on. ... responsive #define BUFFER_SIZE 64 // EMG Threshold value, !!!!n ...l plotter #define EMG_THRESHOLD 60 int circular_buffer[BUFFER_SI...