Giter Club home page Giter Club logo

imagedsplayground's Introduction

ImageDSplayground

Codebase for generating visuals by modifying pixels with dynamical systems over cyclic rings, as described in my senior thesis at Harvey Mudd (to be released in May 2023).

Installation

To run the program, you will need to download OpenFrameworks by following the instructions here.
Once you have OF downloaded, navigate to the folder projectGenerator within the OpenFrameworks directory, and open the Project Generator application. Give your project a title and click Generate.

Next, navigate to the folder apps, then click on myApps and find your project. Replace the contents of the folders src and bin/data with those of this repo. bin/data contains a bunch of images, but feel free to add your own images. Images at the beginning of the folder will be retrieved first by the program.

Running the Program

To open the project, click yourprojectname.sln (Windows) or yourprojectname.xcodeproj (Mac). This should open up the project in your IDE. You can then run the project to test if it's working. Press any key on your keyboard to transition from one image to another.

Modifying parameters, update functions, and transition functions.

Navigate to ofApp.cpp in the src folder. You can modify the transition function inside setup():

You can modify the update function in UDS() by commenting and uncommenting update functions, and/or changing parameters:

You can also modify and add your own custom transition and update functions. Declare the function in ofApp.h and write it in ofApp.cpp. You can look at the update and transition functions in ofApp.cpp for examples.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.