Giter Club home page Giter Club logo

Comments (8)

gmoehrke avatar gmoehrke commented on June 19, 2024

from fastfx.

OSDDQD avatar OSDDQD commented on June 19, 2024

Thank you for such a quick response. is it possible to determine which segment has now completed the cycle in this method? Each segment differs only in the number of pixels

from fastfx.

gmoehrke avatar gmoehrke commented on June 19, 2024

from fastfx.

OSDDQD avatar OSDDQD commented on June 19, 2024

Perhaps it is worth making it a separate issue
The findSegment function produces a compilation error:
error: no matching function for call to 'FFXController :: findSegment (const char [6])'

from fastfx.

gmoehrke avatar gmoehrke commented on June 19, 2024

from fastfx.

OSDDQD avatar OSDDQD commented on June 19, 2024

I'm using #3 example for base, like that in setup section:

  FFXSegment *seg;

  seg = fxctrlr.addSegment("First", 0, 32);
  seg->setFX( new FirstLightFX( seg->getLength() ));
  seg->getFX()->getFXColor().setCRGB( CRGB::Aqua);
  seg->getFX()->setMovement( FFXBase::MovementType::MVT_FORWARD);
  seg->setOpacity(255);

And this in loop section:
FFXSegment seg = fxctrlr.findSegment("First");

I'm not using constants for segment names

from fastfx.

gmoehrke avatar gmoehrke commented on June 19, 2024

Ok: I'll have to add a method for findSegment that handles that, in the meantime -
Try:
String segName = "First";
FFXSegment seg = fxctrlr.findSegment( segName );

from fastfx.

OSDDQD avatar OSDDQD commented on June 19, 2024

Thank you, using overlay is correct solution in my case

from fastfx.

Related Issues (2)

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.