Skip to content

Conversation

softhack007
Copy link
Collaborator

@softhack007 softhack007 commented Feb 28, 2024

Adding a new dynamic mapping for 2D effects.

The idea is

  • "intercept" pixels on their way from the SEGMENT (with buffer) down to the led driver.
  • use a transformation matrix to modify pixel coordinates dynamically
  • write out pixels at their new, transformed locations.

As proof of concept, I'm transforming the matrix so its constantly rotating at the same speed.
UI support will come later. Also there is a lot of optimization potential, so performance will be very good finally.

YouCut_20240229_003008953_001.mp4
VID-20240228-WA0020.mp4

@softhack007 softhack007 marked this pull request as draft February 28, 2024 21:21
scale down the size after projection, to fit everything into the original 2D panel.

--> creates a slowly "pumping" effect in addition to the rotation.

math probably still buggy.
- hook into strip.service(), to get active segment bounds
- update angle once per frame
- math optimizations
Kind of a "poor man's anti-aliasing" algorithm
* edge smoothing
* disable spinning
@softhack007 softhack007 self-assigned this May 1, 2024
@softhack007 softhack007 added brilliant enhancement New feature or request labels May 22, 2024
@ewowi
Copy link

ewowi commented Sep 14, 2025

The Seehund demonstrates it well 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

brilliant enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants