JOSH MILLER [email protected]

Total Page:16

File Type:pdf, Size:1020Kb

JOSH MILLER Jomiller@Kutztown.Edu CREATING VISUALS IN PROCESSING JOSH MILLER [email protected] www.josh-miller.com WHAT IS PROCESSING? • Free software: processing.org • Old... 2001 old, but constantly updated • Started at MIT • Created to teach Comp Sci, embraced by artist nerds WHAT IS PROCESSING? • Free software: processing.org • Old... 2001 old, but constantly updated • Started at MIT • Created to teach Comp Sci, embraced by artist nerds WHAT IS IT? • A java-like programming language that makes Java apps... JAVA??!? • Isn’t that just for malware and exploits? PROCESSING 2.0 • Android • “Javascript” HTML5 canvas tag • processingjs.org WHAT DOES IT DO WHAT DOES IT DO WHAT DOES IT DO Text feltron report WHAT DOES IT DO WHAT DOES IT DO WHAT DOES IT DO WHAT DOES IT DO WHAT DOES IT DO http://tweetping.net/ WHAT DOES IT DO joshuadavis.com GENERATIVE ART • Art created by a set of rules. • Algorithmic art? CONNECTIONS • libraries • sound, video, animation, visualization, 3d, interface • http://processing.org/reference/libraries/ • hardware • kinect, arduino, sensors, cameras, serial devices, network, tablets, many screens, COMPETITORS • openFrameworks - www.openframeworks.cc • cinder - http://libcinder.org/ • max/msp - http://cycling74.com/ • vvvv - http://vvvv.org/ LEARNING PROCESSING • http://processing.org/learning/ • http://processing.org/reference/ • Books: • Learning Processing & The Nature of Code, Dan Shiffman • Processing: A Programming Handbook for Visual Designers and Artists, Reas & Fry INTRO void setup() { // runs once } void draw() { // runs 30fps... unless you tell it not to } DEMOS! • get excited. WHAT ELSE? • Anything you can do in Java you can do in Processing • libraries • syntax (oop, inheritance, etc) LEARN MORE • THE EXAMPLES MENU! • processing.org • creativeapplications.net PLUG • Teaching a processing course (“Creative Coding”) @ Kutztown this summer • M-T 1-5pm for all of June.
Recommended publications
  • Prioritizing Pull Requests
    Prioritizing pull requests Version of June 17, 2015 Erik van der Veen Prioritizing pull requests THESIS submitted in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE in COMPUTER SCIENCE by Erik van der Veen born in Voorburg, the Netherlands Software Engineering Research Group Q42 Department of Software Technology Waldorpstraat 17F Faculty EEMCS, Delft University of Technology 2521 CA Delft, the Netherlands The Hague, the Netherlands www.ewi.tudelft.nl www.q42.com c 2014 Erik van der Veen. Cover picture: Finding the pull request that needs the most attention. Prioritizing pull requests Author: Erik van der Veen Student id: 1509381 Email: [email protected] Abstract Previous work showed that in the pull-based development model integrators face challenges with regard to prioritizing work in the face of multiple concurrent pull requests. We identified the manual prioritization heuristics applied by integrators and ex- tracted features from these heuristics. The features are used to train a machine learning model, which is capable of predicting a pull request’s importance. The importance is then used to create a prioritized order of the pull requests. Our main contribution is the design and initial implementation of a prototype service, called PRioritizer, which automatically prioritizes pull requests. The service works like a priority inbox for pull requests, recommending the top pull requests the project owner should focus on. It keeps the pull request list up-to-date when pull requests are merged or closed. In addition, the service provides functionality that GitHub is currently lacking. We implemented pairwise pull request conflict detection and several new filter and sorting options e.g.
    [Show full text]
  • CS 413 Ray Tracing and Vector Graphics
    Welcome to CS 413 Ray Tracing and Vector Graphics Instructor: Joel Castellanos e-mail: [email protected] Web: http://cs.unm.edu/~joel/ Farris Engineering Center: 2110 2/5/2019 1 Course Resources Textbook: Ray Tracing from the Ground Up by Kevin Suffern Blackboard Learn: https://learn.unm.edu/ ◼ Assignement Drop-box ◼ Discussions ◼ Grades Class website: http://cs.unm.edu/~joel/cs413/ ◼ Syllabus ◼ Projects ◼ Lecture Notes ◼ Readings Assignments 2 ◼ Source Code 2 1 Structure of the Course ◼ Studio: Each of you will, by the end of the semester, build a single, well featured ray tracer / procedural texture renderer. ◼ Stages this project total to 70% of course grade. ◼ No exams ◼ Class time (30% of course grade) : ◼ Lecture ◼ Discussion of Reading ◼ Quizzes ◼ Show & Tell ◼ 3 Code reviews 3 Language and Platform ◼ The textbook examples are all in C++: ◼ STL (Standard Template Library – this is multiplatform). ◼ wxWidgets application framework (Windows and Linux). ◼ Class examples replace wxWidgets with OpenFrameworks. ◼ Decide on an IDE. If you are using Windows, I recommend MS Visual Studio as it is an industry standard and many employers will expect you to be comfortable with it. For Linux, there are a number of good options including:, Eclipse C++, Netbeans for C/C++ Development, Code::Blocks, Sublime Text editor and others. ◼ Your project must be in an on-going repo in GitHub. This can be public or private. Building a good GitHub repo to show prospective employers is essential to a young computer 4 scientist in the current job market. 4 2 Assignment 1 ◼ For Monday, Jan 29: ▪ Read Chapters 1, 2 (skim and reference later) and 3.
    [Show full text]
  • Database Music a History, Technology, and Aesthetics of the Database in Music Composition
    Database Music A History, Technology, and Aesthetics of the Database in Music Composition by Federico Nicolás Cámara Halac A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy Department of Music New York University May, 2019 Jaime Oliver La Rosa c Federico Nicolás Cámara Halac All Rights Reserved, 2019 Dedication For my mother and father, who have always taught me to never give up with my research, even during the most difficult times. Also to my advisor, Jaime Oliver La Rosa, without his help and continuous guidance, this would have never been possible. For Elizabeth Hoffman and Judy Klein, who always believed in me, and whose words and music I bring everywhere. Finally to Aye, whose love I cannot even begin to describe. iv Acknowledgements I would like to thank my advisor, Jaime Oliver La Rosa, for his role in inspiring this project, as well as his commitment to research, clarity, and academic rigor. I am also indebted to committee members Martin Daughtry and Elizabeth Hoffman, for their ongoing guidance and support even at the very early stages of this project, and William Brent and Robert Rowe, whose insightful, thought-provoking input made this dissertation come to fruition. I am also everlastingly grateful to Judy Klein, for always being available to listen and share her listening. As well as to Aye, for her endless support and her helping me maintain hope in developing this project. I would also like to thank my parents, Ana and Hector, who inspired and nurtured my interest in music from a young age, and my sister Flor and my brother Joaquin who were always with me, next to every word.
    [Show full text]
  • Programming Interactivity.Pdf
    Download at Boykma.Com Programming Interactivity A Designer’s Guide to Processing, Arduino, and openFrameworks Joshua Noble Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo Download at Boykma.Com Programming Interactivity by Joshua Noble Copyright © 2009 Joshua Noble. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Steve Weiss Indexer: Ellen Troutman Zaig Production Editor: Sumita Mukherji Cover Designer: Karen Montgomery Copyeditor: Kim Wimpsett Interior Designer: David Futato Proofreader: Sumita Mukherji Illustrator: Robert Romano Production Services: Newgen Printing History: July 2009: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Programming Interactivity, the image of guinea fowl, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information con- tained herein. TM This book uses RepKover™, a durable and flexible lay-flat binding.
    [Show full text]
  • Graphical User Interface Using Flutter in Embedded Systems
    Graphical User Interface Using Flutter in Embedded Systems Hidenori Matsubayashi @ Sony Corporation #lfelc Graphical User Interface Using Flutter in Embedded Systems Embedded Linux Conference Europe October 27, 2020 Hidenori Matsubayashi @ Sony Corporation Sec.2 Tokyo Laboratory 29 R&D Center Copyright 2020 Sony Corporation Hidenori Matsubayashi Embedded Software Engineer @ Sony Ø Living in Tokyo, Japan Ø Specialties Ø Embedded Linux System Development Ø Board bring-up and software integration for: Ø Qualcomm Ø NXP Ø NVIDIA Ø Middleware [email protected] Ø Graphics Ø Audio/Video HidenoriMatsubayashi Ø Firmware/Low level layer Ø RTOS Ø Bootloader Ø Device driver Ø FPGA Ø Programming Languages: C/C++, Rust, Dart 3 Agenda Ø Background Ø Overview of the new approach Ø Demo Video Ø Details on our approach Ø Summary 4 Agenda Ø Background Ø Overview of the new approach Ø Demo Video Ø Details on our approach Ø Summary 5 Background Ø We were always searching suitable GUI toolkits for embedded systems Ø OSS ? Ø Commercial software ? Ø Toolkits which is provided by SoC vendor ? Ø There are a lot of GUI toolkits in OSS or commercial licenses. Ø However, there arenʼt a lot of GUI toolkits available for especially consumer embedded products in OSS. 6 Why few toolkits for consumer embedded products in OSS? There are two main reasons 1. Our requirements 2. Typical challenges on Embedded platforms 7 Reason 1: Main Requirements for GUI toolkits Ø High designability Ø Need beautiful UI and smooth animation like smartphone and web (not like
    [Show full text]
  • Openframeworks 07
    OPENFRAMEWORKS 07 Introducción OpenFrameworks en una herramienta de programación creativa basada en el lenguage C++. OF proporciona una interfaz sencilla y uniforme sobre una colección de librerías como openGL para dibujo 2D/3D, FreeImage para trabajo con imágenes, Quicktime para video y acceso a cámara u OpenCV para visión arti!cial. openFrameworks es código abierto con licencia MIT y mulitplataforma ( Linux, OSX, Windows, iOS y Android) Objectivos t Conocer una serie de conceptos que hacen C++ diferente de otros lenguajes. t Adquirir los conocimientos necesarios para crear una aplicación sencilla. t Aprender a usar addons en openFrameworks Estructura Una aplicación en C++ siempre comienza ejecutando la función main. En openFrameworks siempre existe una clase testApp que se llama desde main y tiene al menos las siguientes funciones: void setup() void update() void draw() Aquí se inicializan las variables a Se ejecuta una vez por cada frame. Se ejecuta una vez por cada utilizar durante la aplicación y se En ella se realizan los calculos u otras frame. En ella se dibuja a abren los recursos, por ejemplo operaciones necesarias para actualizar pantalla. Ninguna operación un archivo de video, un sonido o el estado de la aplicación de dibujado funcionará si no se una cámara de video. Se ejecuta ejecuta dentro de draw. una única vez al principio de la aplicación. .h y .cpp En C++ siempre existen estos dos tipos de archivos, en los archivos .h o ‘headers’ se especi!ca, se declara, lo que vamos a hacer. En el .cpp implementamos o de!nimos lo declarado en los .h Se puede comparar con una receta de cocina, el .h son los ingredientes y el .cpp la descripción de como utilizar esos ingredientes para cocinar la receta.
    [Show full text]
  • Improving the Flipped Classroom Perspective for Programming in Creative Technology
    Improving the Flipped Classroom Perspective for Programming in Creative Technology Jur van Geel Creative Technology Ansgar Fehnker Angelika Mader 15th of February 2019 Improving the Flipped Classroom Perspective for Programming in Creative Technology Page | 2 ABSTRACT This thesis researches both the need for library education for the creative technology curriculum and its implementation. It tests the already existing Flipped classroom model and the newly designed Guided Read‐in as methodologies for this implementation. It does so by firstly stating the need for library education within the Creative Technology curriculum. Afterwards the State‐of‐the‐Art regarding introductory programming education and libraries in the context of the OpenFrameworks platform is reported. The second part evaluates both methodologies as they were implemented within the Programming for AI 2019 course. Both the OpenCV library and OFxGui play a major part in this research. OpenCV was used as library for the Guided Read‐in and OFxGui was introduced using the Flipped Classroom approach. Both methodologies are suited for completely different purposes and both exist within the context of introductory programming education. Regarding the Flipped classroom principle, conclusions are drawn about its suitedness for academic purposes. When introducing students to the Flipped classroom approach, the teacher should keep in mind that deadlines help students to keep on track. As not all students react toward the Flipped classroom approach in the same manner, many require more regulation. When introducing Flipped classroom in the academic curricula teacher need to take a good look‐out for which teaching method is the most suitable and how they want to implement this in their standing methodology.
    [Show full text]
  • Libfreenect/Openkinect
    (last update : 17 Feb 2011) 1) The "client" software (Max, Processing, OF) 2) The addon/module/object, that contains 3) ... the library (Libfreenect, OpenNI, etc) 4) Libusb, that allows the usb dialogue with... 5) ...the Kinect So if you plan to work with the Kinect, you need to find the addon/module/object that allows you to use a Kinect library with your software. ● Libfreenect/OpenKinect : http://openkinect.org ○ OSX : http://openkinect.org/wiki/Getting_Started#OS_X ■ Processing : shiffman.kinect.* ● http://www.shiffman.net/p5/kinect/ ● https://groups.google.com/group/openkinect/browse_thread/thread/a6910e49ef99e5ba ■ Processing : king.kinect.* ● https://github.com/nrocy/processing-openkinect#readme ■ Max/MSP : jit.freenect.grab ● http://jmpelletier.com/freenect/ ● http://cycling74.com/forums/topic.php?id=29469 ■ OpenFrameworks : ofxKinect ● https://github.com/ofTheo/ofxKinect ○ Linux : http://openkinect.org/wiki/Getting_Started#Linux ■ OpenFrameworks : ofxKinect ● http://www.openframeworks.cc/forum/viewtopic.php?f=14&t=5135 ● https://github.com/ofTheo/ofxKinect ■ Processing ? ● http://www.local-guru.net/blog/2010/12/28/how-to-use-the-libfreenect-processing-wrapper- on-ubuntu ○ Windows : http://openkinect.org/wiki/Getting_Started_Windows ■ Via libusbemu ● https://github.com/OpenKinect/libfreenect/tree/master/platform/windows ● https://groups.google.com/group/openkinect/browse_thread/thread/44760344484d0dc6 ● guide supplémentaire (pour le troubleshooting http://www.as3kinect.org/guides/openkinect- win32-wrapper-guide/ ) ● Archives ○ https://groups.google.com/group/openkinect/browse_thread/thread/8c79745630b39e76 ○ https://groups.google.com/group/openkinect/browse_thread/thread/80ac0a51d7ac62aa ○ https://github.com/slomp/libfreenect/blob/unstable/platform/windows/README.TXT ○ “The current port of libfreenect for Windows uses a libusb-1.0 emulation layer. This is necessary because libusb-1.0 is not yet available for Windows, even though an announcement of its release was made back in August 2010.
    [Show full text]
  • Rapid Prototyping of New Instruments with Codecircle
    Rapid Prototyping of New Instruments with CodeCircle Michael Zbyszynski Mick Grierson Matthew Yee-King EAVI Group, Department of EAVI Group, Department of EAVI Group, Department of Computing Computing Computing Goldsmiths University of Goldsmiths University of Goldsmiths University of London London London New Cross, London, SE14 New Cross, London, SE14 New Cross, London, SE14 6NW, UK 6NW, UK 6NW, UK [email protected] [email protected] [email protected] ABSTRACT faces to be programmed in JavaScript. Wyse and Subrama- Our research examines the use of CodeCircle, an online, col- nian[15] examine computer music in browsers more gener- laborative HTML, CSS, and JavaScript editor, as a rapid ally, noting the potential offered by browsers' intrinsic con- prototyping environment for musically expressive instru- nection to networks, ease of access, and portability. New ments. In CodeCircle, we use two primary libraries: Max- standards from W3C and extensions to JavaScript have iLib and RapidLib. MaxiLib is a synthesis and sample pro- made browser technology more \viable" for musical work. cessing library which interfaces with the Web Audio API However, timing can be problematic. Web Audio API for sound generation in the browser. RapidLib is a prod- scripts are run in the browser's main thread, which can be uct of the Rapid-Mix project, and allows users to imple- prone to latency and jitter. Jitter can be reduced by using ment interactive machine learning, using \programming by the Web Audio Clock, rather than the JavaScript clock.[13] demonstration" to design new expressive interactions. Large buffer sizes are required (>1024 samples), and cur- rent implementations impose a fixed latency of two buffers.
    [Show full text]
  • A Lightweight Environment for 2D Visual Applications
    EPiC Series in Computing Volume 64, 2019, Pages 88{97 Proceedings of 28th International Conference on Software Engineering and Data Engineering A lightweight environment for 2D visual applications Armando Arce-Orozco12, Antonio Gonzalez-Torres34, and Erick Mata-Montero1 1 School of Computing, Costa Rica Institute of Technology Cartago, Costa Rica [arce,emata]@tec.ac.cr 2 School of Computing, National University Heredia, Costa Rica [email protected] 3 Dept. of Computer Engineering, Costa Rica Institute of Technology Cartago, Costa Rica [email protected] 4 Faculty of Engineering, ULACIT San Jos´e,Costa Rica [email protected] Abstract People and organizations constantly use a wide variety of devices and formats to pro- duce large volumes of data. This involves a series of challenges related to processing and transforming data into valuable knowledge to carry out informed decisions. This research work departs from the fact that information visualization is a critical element in the pro- cess of data analysis that takes advantage of the visual and cognitive abilities of people to explore, discover, interpret, and understand patterns in data with the use of visual rep- resentations and human-computer interaction techniques. This research proposes Di¨ok¨ol, a programming environment developed with Lua and OpenVG to facilitate the learning process of programmers with little experience in the implementation of visualizations. The environment was designed after the careful study of similar tools and the most popular visualization libraries. Its design takes into account their weaknesses and strengths to propose a set of features that can make it an efficient alternative to learning about and program visualizations.
    [Show full text]
  • Designing and Evaluating the Usability of a Machine Learning API for Rapid Prototyping Music Technology
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Sussex Research Online Designing and evaluating the usability of a machine learning API for rapid prototyping music technology Article (Published Version) Bernardo, Francisco, Zbyszyński, Michael, Grierson, Mick and Fiebrink, Rebecca (2020) Designing and evaluating the usability of a machine learning API for rapid prototyping music technology. Frontiers in Artificial Intelligence, 3 (a13). pp. 1-18. ISSN 2624-8212 This version is available from Sussex Research Online: http://sro.sussex.ac.uk/id/eprint/91049/ This document is made available in accordance with publisher policies and may differ from the published version or from the version of record. If you wish to cite this item you are advised to consult the publisher’s version. Please see the URL above for details on accessing the published version. Copyright and reuse: Sussex Research Online is a digital repository of the research output of the University. Copyright and all moral rights to the version of the paper presented here belong to the individual author(s) and/or other copyright owners. To the extent reasonable and practicable, the material made available in SRO has been checked for eligibility before being made available. Copies of full text items generally can be reproduced, displayed or performed and given to third parties in any format or medium for personal research or study, educational, or not-for-profit purposes without prior permission or charge, provided that the authors, title and full bibliographic details are credited, a hyperlink and/or URL is given for the original metadata page and the content is not changed in any way.
    [Show full text]
  • Mastering Openframeworks: Creative Coding Demystified
    Mastering openFrameworks: Creative Coding Demystified A practical guide to creating audiovisual interactive projects with low-level data processing using openFrameworks Denis Perevalov BIRMINGHAM - MUMBAI Mastering openFrameworks: Creative Coding Demystified Copyright © 2013 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: September 2013 Production Reference: 1160913 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84951-804-8 www.packtpub.com Cover Image by Asher Wishkerman ([email protected]) Credits Author Project Coordinators Denis Perevalov Shiksha Chaturvedi Hardik Patel Reviewers Mathias Paumgarten Proofreader Tim Pulver Mario Cecere Acquisition Editor Indexer Nikhil Karkal Priya Subramani Lead Technical Editor Production Coordinator Sweny M. Sukumaran Arvindkumar Gupta Technical Editors Cover Work Sharvari Baet Arvindkumar Gupta Aparna Kumari Hardik B.
    [Show full text]