2D Pixel coordinate mapping tool for images

Yep, looks about right. You can also try “Red-Green XY 2D Sweep”
Red-Green XY 2D Sweep.epe (3.1 KB)

You could add a fake pixel to the map to lock in the aspect ratio to a square. .e.g add [3484,3484] at the end of your list. Don’t forget to add a comma, its sneakily absent on that last entry.

2 Likes

Hello guys. Sorry for the delay. This mapping is ok?

Just wanted to be sure you’re clicking on the image in the order that the pixels are wired, right? I am seeing some of the wires inside and wondering if you were marking them all, but not in their wiring order. For example, I couldn’t tell if a wire is directly connecting pixels numbered 14 and 15:

2D Pixel coordinate mapping tool for images - News and Announcements - ElectroMage Forum 2021-09-27 17-03-45

If you can post a video of the pattern Wizard included - Red-Green XY 2D Sweep.epe - that would be the most definitive answer as to whether it seems to be mapped correctly.

2 Likes

@jeff is right, you need to click on them in order. That should be listed clearly too on that page.

You need to start on the first pixel and click on them in order. Not just across the board, but the way the wiring goes. Otherwise it’ll be lighting up the wrong light and nothing will look right.

1 Like

@jeff jeff Ok. I understand now. I was selecting the Leds wrong. I will try it again.

@Scruffynerf Ok. Thanks. I will try it again and post the results.

Good morning again everyone. It is working know. I was making the mapping wrong.

Thanks everybody

@Scruffynerf The Kitt 2d effect is working just fine. Thanks a lot…

2 Likes

@jeff nice write up on mapping:. intro_to_mapping.md

I’d link to it, but unsure which link to use. @wizard?

Hopefully with the above discussion/confusion, some more “howto” will be added as well, including linking to the tool here.

1 Like

Thanks! I appreciate you noticing!

This mapping content’s been live here for a little over a year, but one effort I’ve been trying to support is unifying the navigation/cohesion of bhencke.com/pixelblaze, the github repos, and everything that lives on electromage.com. Within a few weeks, I’d like to see much of the “how to” type content fully migrated from bhencke.com/pixelblaze to electromage.com. It probably doesn’t have a durable, linkable home until then.

However, linking to it in it’s github.com/simap/pixelblaze/guides/ home is likely to be durable for quite some time, it’ll just be github markdown there, whereas it’ll be rendered into a cohesive nav experience when it gets integrated with electromage.com/setup/

2 Likes

Wow - that’s an awesome 2D version of the KITT pattern - discovered from the link in this thread. that one is the best!

2 Likes

It was a group effort. @zranger1 , @jeff and myself. Good example of the power of users collaborating. I’m hopeful that we can alter most of the current patterns in PB library to be more universal (map based).

3 Likes

2 posts were split to a new topic: New to pixel mapping - map a cylinder

This looks like an awesome tool! Is there an existing pixelblaze pattern that lights each led up sequentially as instructed on the 3d mapper page? Thanks!

EDIT: I found this, but haven’t tried it out yet: https://forum.electromage.com/t/blinkfade-in-cube-frame/1280/13

1 Like

I need 16x16 coordinates, not in pixels. So tiled coordinates. not pixel coordinates.

@LilkaEleniak - just so I understand, are you looking to control specific pixels via their [x, y] coordinate in a 16x16 matrix, where x and y are integers?

And if so, is the matrix not evenly spaced, hence why you were trying to use (or at least replying in) this thread about the picture annotation point-clicking tool?