Quantcast
Channel: Picade - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 574

WIP: Plasmaburn: Create plasma led patterns and animations from templates

$
0
0

Hey all,

I’ve been playing with my picade + plasma led buttons and have started a project to generate led animations.

Plasmaburn is a library at the moment that will generate the PNG files to be used by the plasmactl tool

I have put together a sample/demo pack:

test-plasmaburn.zip

Download the zip on your picade to install a selection of demo/sample images:

{
  wget https://plasmaburn.thef.uk/test-plasmaburn.zip ; 
  unzip test-plasmaburn.zip ;
  cd test-plasmaburn ;
  sudo bash install.sh
}

This will install the demo patterns using plasmactl
It should load the test-card image. Compare the less on your picade with the pattern on the test card

If that all looks good, try running the demo:

bash demo.sh

If the test-card doesn’t match, plasmaburn can be re-configured to match your button positions and orientation.

Some features so far:

  • Gamma correction for less (needs more work)
  • Button/led orientation configuration
  • Colour palette, RGB and HSV support
  • Transitions using “adjust” and envelopes
  • OpenSimplex noise to create random but looping patterns
  • Button and led geometry for patterns with precise angles (please could someone give me button measurements)

This is very much a work in progress, I’m moving it up to GitHub

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 574

Trending Articles