Coder Social home page Coder Social logo

Comments (5)

breakintoprogram avatar breakintoprogram commented on August 23, 2024

Think the only modes FabGL can support are: 0, 4. All other modes will have no effect.

Not sure how the swap fg/bg colour option works.

from agon-vdp.

lennart-benschop avatar lennart-benschop commented on August 23, 2024

Swap fg/bg is supposed to work like this: for every point you visit:

  • if it has the foreground colour, change it to background colour.
  • else if it has the background colour, change it to foreground colour.
  • else leave the point unchanged.

from agon-vdp.

lennart-benschop avatar lennart-benschop commented on August 23, 2024

I would also implement the distinct 0..7 plot modes:
0..3 use relative coordinates.
4..7 use absolute coordinates
0,4 move, do not draw anything.
1,5 draw in foreground colour.
2,6 draw in inverse colour (this is FabGL's NOT operation I think).
3,7 draw in background colour
FabGL appears to have inverse colour support only for dots and lines, but it would be good to implement all these modes for them. Relative coordinates, fg and bg drawing can also be implemented for the other graphics primitives.

from agon-vdp.

breakintoprogram avatar breakintoprogram commented on August 23, 2024

That's not part of the scope for this card, it is planned though.

from agon-vdp.

lennart-benschop avatar lennart-benschop commented on August 23, 2024

I'll make another card for it then.

from agon-vdp.

Related Issues (20)

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.