Git Product home page Git Product logo

cohen_gig's People

Contributors

joshuabatty avatar mitchmindtree avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

mitchmindtree

cohen_gig's Issues

Massive build times

I just pulled down the latest master and got it working after a really long build process. The nannou windows then opened and I could see the visualisation going on.

I then navigated to the shader/src/lib.rs file and tried mutiplying the uniforms.time varibale by 0.0 to see if I could freeze time. After saving I could see it compiling and trying to hot reload but the visualisation stayed the same. I tried manipulating other parameters as well but seemed the changes were making no effect.

I then closed the window, reset all of my changes in the shader/src/lib.rs file and went to run the cohen_gig again, and cargo is now trying to rebuild all 345 crates from scratch again.... Are you seeing this bahviour as well @mitchmindtree ?

Easy way to interact with shader params using the GUI

At the moment, each shader has a params struct that contains all of the shaders tweakable parameters. For example, the gilmore acid shader has a params struct like below:

struct Params {
    speed: f32,
    displace: f32,
    colour_offset: f32,
    grid_size: f32,
    wave: f32,
    zoom_amout: f32,
    rotation_amount: f32,
    brightness: f32,
    saturation: f32,
}

It would be nice to be able to tweak these values during the show. Currently, the way i've mapped the midi controller is I can tweak the 2 most fun params for each shader. In this instance though, the gilmore acid shader has 7 more variables that aren't able to be tweaked, and since my mac cant hot-reload I will be unable to 'live code' during the performance.

I was thinking it would be awesome if somehow, when a shader is selected via the Drop Down Menu, the params associated with that shader showed up as sliders.... I haven't been sure about the best way to auto-populate this with out some crude hand coded solution for each shader... maybe there is a nice dynamic way of achieving this?

GUI Example (would be nice is the sliders were named after the params they were controlling)
Coehn gui setup

MIDI MAPPINGS
cohen midi setup

LED ARTNET Map

This is the artnet wiring diagram that Jobe has put together. Would be good to hard code this into the software.

71253053_490352241517895_4284828553251389440_n

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.