Giter Site home page Giter Site logo

fastled-xy-map-generator's People

Contributors

macegr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fastled-xy-map-generator's Issues

Extra feature

Hi,
Loving your code.

Any chance of an update with a 'clear all LEDs' button to clear the matrix?
I have a 80x80 grid, and only need 91 LEDs highlighting.

Thanks,
Paul

3x NeoMatrix 8x8

I have 3 8x8 matrixes which I would like to put together, could you set the starting point to 65 - 128?

I want to Create different shapes by this xy map Generator plz help

hello sir,

i am trying the xy map but not getting the write code

// Params for width and height
const uint8_t kMatrixWidth = 24;
const uint8_t kMatrixHeight = 8;

#define NUM_LEDS (kMatrixWidth * kMatrixHeight)
CRGB leds[ NUM_LEDS ];
#define LAST_VISIBLE_LED 121
uint8_t XY (uint8_t x, uint8_t y) {
// any out of bounds address maps to the first hidden pixel
if ( (x >= kMatrixWidth) || (y >= kMatrixHeight) ) {
return (LAST_VISIBLE_LED + 1);
}

const uint8_t XYTable[] = {
122, 126, 127, 132, 133, 138, 139, 144, 145, 150, 151, 156, 157, 162, 163, 168, 169, 174, 175, 180, 181, 186, 187, 191,
0, 10, 11, 20, 21, 30, 31, 40, 41, 50, 51, 60, 61, 70, 71, 80, 81, 90, 91, 100, 101, 110, 111, 121,
1, 125, 12, 19, 22, 137, 32, 39, 42, 49, 152, 59, 62, 69, 72, 167, 82, 89, 92, 99, 182, 109, 112, 120,
2, 9, 128, 18, 134, 29, 140, 38, 43, 149, 52, 155, 63, 68, 164, 79, 170, 88, 93, 179, 102, 185, 113, 119,
3, 8, 13, 131, 23, 28, 33, 143, 146, 48, 53, 58, 158, 161, 73, 78, 83, 173, 176, 98, 103, 108, 188, 118,
4, 7, 14, 17, 24, 27, 34, 37, 44, 47, 54, 57, 64, 67, 74, 77, 84, 87, 94, 97, 104, 107, 114, 117,
5, 6, 15, 16, 25, 26, 35, 36, 45, 46, 55, 56, 65, 66, 75, 76, 85, 86, 95, 96, 105, 106, 115, 116,
123, 124, 129, 130, 135, 136, 141, 142, 147, 148, 153, 154, 159, 160, 165, 166, 171, 172, 177, 178, 183, 184, 189, 190
};

uint8_t i = (y * kMatrixWidth) + x;
uint8_t j = XYTable[i];
return j;
}

After this i want to Scrolling effect of this xy map plz give me rest of code by which i can scroll this xy map

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.