Skip to content

Render fretboard in layersΒ #23

@efegurkan

Description

@efegurkan

Fretboard implementation is rendering everything as a single layer. Which limits the visuals customization.

This was an idea from the string and I am not sure if it is possible at all to do. So please bear with me.

Example: When drawing colors on the strings either everything is supposed to be same color or the continuity is broken.

D3 ║─┼──────┼──⬀───┼──────║
A2 ║─┼──────┼───────┼──────║

For a board similar to above examples if I want to make only the string ─ red and fret elements β”Ό white, the string looks split into pieces.

I wonder if we can render the fretboard in two layers with alpha blending when rendering to the buffer for the screen.

Layer 1 (all white)

D3 ║─┼──────┼───────┼──────║
A2 ║─┼──────┼───────┼──────║

Layer 2 (red)

    ───────────⬀──────────
   

If it is possible to render two buffers with ARGB pixels, the string look in a different color but continuous.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions