marian42 / pixelpi Goto Github PK
View Code? Open in Web Editor NEWGames and Animations on 16x16 LEDs
License: MIT License
Games and Animations on 16x16 LEDs
License: MIT License
Whenever I try to load a image using example_cycle.py the color of the animation is different than what it should be.
For example this animation:
Looks like this on my matrix:
Any ideas on how to fix this? Any help would be much appreciated.
Hi,
I built everything and it almost work now. But i can’t fine a transparent layer to put in front of the grid make mess with the shape of the grid.
What material did you use?
Perhaps you can help. I am trying to use this to make my own LED Matrix. I have updated the width to 48 and height to 30 in the abstract screen, screen, and virtual screen .py files in the screens folder. I am trying to make mine 48x30 (48 horizontal and 30 vertical) but I keep getting this error when I simulate it. Where all do I need to update from 16x16 to 48x30 to make everything work? I should note that I am trying to run the cycle app. The menu comes up fine and when I hit enter on the keyboard is when I get the error. I used one of animations from the link in the github tutorial. Thanks!
ello from the pygame community. https://www.pygame.org/contribute.html
Unhandled exception in thread started by <bound method Cycle.run of <modules.cycle.Cycle object at 0x7359e470>>
Traceback (most recent call last):
File "/home/pi/pixelpi/modules/init.py", line 14, in run
self.tick()
File "/home/pi/pixelpi/modules/cycle.py", line 69, in tick
self.next(pick_random = True)
File "/home/pi/pixelpi/modules/cycle.py", line 65, in next
self.get_current_animation().start()
File "/home/pi/pixelpi/modules/cycle.py", line 45, in get_current_animation
self.animations[index] = Animation(self.screen, self.subfolders[index])
File "/home/pi/pixelpi/modules/animation.py", line 31, in init
self.screen.update()
File "/home/pi/pixelpi/screen/virtualscreen.py", line 18, in update
pygame.draw.rect(self.surface, self.pixel[x][y], ((x * self.pixel_size, y * self.pixel_size), (((x+1) * self.pixel_size), (y+1) * self.pixel_size)))
IndexError: list index out of range
Is there any way we can get a group effort kinda thing going on to get this updated to run on Python3? I've made some headway, but am currently stuck with this error:
Traceback (most recent call last):
File "menu.py", line 154, in <module>
menu = Menu(create_screen(), create_menu_items())
File "/home/pi/pixelpi/screenfactory.py", line 9, in create_screen
return Screen()
File "/home/pi/pixelpi/screen/screen.py", line 12, in __init__
self.strip = neopixel.NeoPixel(width * height, led_pin, led_freq_hz, led_dma, led_invert, led_brightness)
TypeError: __init__() takes 3 positional arguments but 7 were given
I can upload my changes if needed/wanted.
Do you know how to find a working python2.7 neopixel library?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.