openFrameworks and image masks

When searching for ways to mask images in openFrameworks (iOS/OSX), I found that the most well-ranked solutions on search results actually did not work. Then I found this one, that worked:

https://forum.openframeworks.cc/t/setalphamask-example-failing/24193

Posted in openFrameworks, Software | Leave a comment

iOS Core Motion

More info on Core Motion: https://developer.apple.com/documentation/coremotion

Posted in iOS, openFrameworks, Platforms, Software | Leave a comment

openFrameworks and ofxAccelerometer

Recent versions of iOS don’t seem to support ofxAccelerometer. The solution is to use ofxCoreMotion: https://forum.openframeworks.cc/t/ofxaccelerometer-examples-do-not-compile-in-xcode-9/30380

Posted in openFrameworks, Software | Leave a comment

openFrameworks 0.10 – enabling multitouch

From openFrameworks 0.10 for iOS, you need to add this to main.mm to enable multitouch:

settings.enableMultiTouch = true;
Posted in openFrameworks, Software | Leave a comment

Multitouch Interaction: Dec/2018


Photos: https://www.flickr.com/photos/nunocorreia/albums/72157701539144722

The course focuses on exploring multitouch interaction, and other mobile-enabled technologies, to create innovative and engaging experiences with digital media. Multiple devices will be used, with an emphasis on mobile phones/tablets and the iOS platform. Other devices and platforms will also be discussed.

The main development environment for the course will consist of openFrameworks (oF) with Xcode. Students should have previously attended the Software Studies for Media Designers course, or demonstrate having acquired equivalent skills. Students are required to plan, develop, document and present a project at the end of the course.

Continue reading

Posted in Multitouch Interaction, Multitouch Interaction 2018 | Leave a comment

Generative Media Coding: May/2018


Photos: https://www.flickr.com/photos/nunocorreia/albums/72157696686511324

Program:
14/May/2018, 9-16h: Introduction to openFrameworks; Animation; Interaction; Forces
15/May/2018, 9-16h: Particle systems; Autonomous agents; Physics libraries; Audio
16/May/2018, 9-16h: Audio-visuals; Project development
17/May/2018, 9-16h: Project development
18/May/2018, 9-16h: Project development and presentation

The course is focused on the generative aspects of media design and coding, interaction design and the control of media elements in interactive projects. Students will experiment with a broad range of media elements with an emphasis on controlling media behavior through code. Special emphasis will be given to crossings between sound and image: sound visualisation; sonification; audiovisual composition; visual music; etc. Course code is available at https://github.com/aalto-mediacode Continue reading

Posted in Generative Media Coding, Generative Media Coding 2018 | Leave a comment

Multitouch Interaction: Dec/2017


Photos: https://www.flickr.com/photos/nunocorreia/sets/72157691857441114

The course focuses on exploring multitouch interaction to create engaging experiences with digital media. Multiple devices will be used, with an emphasis on mobile phones/tablets and the iOS platform. Other devices and platforms will also be discussed.

The main development environment for the course will consist of openFrameworks (oF) with Xcode. Students should have previously attended the Software Studies for Media Designers course, or demonstrate having acquired equivalent skills. Students are required to plan, develop, document and present a project at the end of the course. Continue reading

Posted in Courses / Projects, Multitouch Interaction, Multitouch Interaction 2017-12 | Leave a comment

openFrameworks iOS audioInput example, microphone

In openFrameworks iOS 0.9.8, the audioInput example doesn’t seem to run. I found this solution:

“The audioinput example in the 9.0 release compiles and runs, and can play sound, but doesn’t receive any audio input. I removed the ofSoundPlayer, and now the audio input does work. so I guess there’s a conflict between ofSoundStream and ofSoundPlayer”

Also, it might be needed to add a Privacy – Microfone item to the plist, and write a message there (can be a simple “Yes”), see image below.

Posted in iOS, openFrameworks, Software | Leave a comment

Multitouch Interaction: Apr/2017


Photos: https://www.flickr.com/photos/nunocorreia/sets/72157680779685131

The course focuses on exploring multitouch interaction to create engaging experiences with digital media. Multiple devices will be used, with an emphasis on mobile phones/tablets and the iOS platform. Other devices and platforms will also be discussed.

The main development environment for the course will consist of openFrameworks (oF) with Xcode. Students should have previously attended the Software Studies for Media Designers course, or demonstrate having acquired equivalent skills. Students are required to plan, develop, document and present a project at the end of the course. Continue reading

Posted in Multitouch Interaction, Multitouch Interaction 2017-04 | Leave a comment

ofPixels, camera usage

The technique for reading data from images has changed in openFrameworks, and the included examples have not yet caught up with this (as of v.0.9.8). With the help of Alex van Giersbergen and Sourya Sen, we’ve prepared an example to illustrate this, which can be dowloaded here:
pixelsTest

Sourya also recommends this related blog post: https://processing.org/tutorials/pixels/

To use the camera (for example to run the ImagePicker or VideoGrabber examples) you will need to update the ofxiOS-Info.plist by right-clicking in an empty area, add lines and then pick Privacy-Camera… and/or Privacy – Photo Library… and add any text there (thanks Gurden Batra).

Posted in openFrameworks, Software | Leave a comment