GithubHelp home page GithubHelp logo

vela2017's People

Contributors

nununo avatar

Watchers

 avatar  avatar  avatar

vela2017's Issues

Arduino singleton no longer needed (since now we have a single signal)

Since we now have both sensors merged into one amplified and filtered signal, I no longer need an Arduino singleton. I will have only one Arduino input.

  • Get rid of the Arduino singleton
  • No more need for an id attribute
  • Rewrite ArduinoInput so that it reincorporates the logic which is today in the Arduino class.
  • Simplify serial read to only read one value instead of 3 (updating Arduino's code accordingly)

Clip layer rotation not working properly

Very strange behavior: shows base layer translated from top layer. Their rotation is exactly the same... so it seems to be a translation issue related to the rotation.

isFinished is not working

Because it is currently based on movie->isPlaying() and that probably doesn't make sense.

I must try to base it on getPosition() but first I must fix getPosition()

Generate a mask layer

To hide the grey background of the videos

It should be calculated based on an alpha gradient around the candle, with parameters.

I will then export it to PNG and use it in Final Cut Pro

Review Clip, Clips, Levels, ClipLayer

  • ClipLayer should create its own Clip instances
  • Levels should not return a Clip. Instead, it should simply return a filename.
  • ClipLayer should already have all the settings needed to create a Clip instance

Consider removin Clip fadeIn

Now it's disabled. If it really doesn't serve a purpose I should remove the commented code and the current functionality from the Config and XML file

Rewrite ArduinoInput

Instead of having an ArduinoInput with nested CalibratedValueInputs...

Have a singleton Arduino which handles all the communications

And then have many ArduinoInputs which all share the same Arduino instance to get their values.

Show movie in a window instead of full screen

So that I can display trace information next to the movie.

because since I'm currently using direct mode it fills the whole screen and doesn't let anything be written on top of it.

Tweak ofMoviePlayer for speed

https://forum.openframeworks.cc/t/loading-an-ofmovieplayer-in-a-thread-not-working-correctly/26770

try using OF_PIXELS_NATIVE to set the pixel format of the video player, that avoids a series of conversions in the cpu which make the playback much faster:

player.setPixelFormat(OF_PIXELS_NATIVE);
player.loadAsync("...");

for this you'll need to use openGL ES 2 since it needs some shaders to do the conversions that would otherwise be done in cpu, in you main.cpp, like: https://gist.github.com/arturoc/5880704601cb57b872c48385c10a1db6

int main(){
      ofGLESWindowSettings settings;
      settings.setGLESVersion(2);
      ofCreateWindow(settings);
      ofRunApp(new ofApp);
}

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.