Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taciturnaxolotl/neon
The bulbs glow a distinctive amber. It's like nostalgia but for something you never had.
https://github.com/taciturnaxolotl/neon
hackclub neon
Last synced: 4 days ago
JSON representation
The bulbs glow a distinctive amber. It's like nostalgia but for something you never had.
- Host: GitHub
- URL: https://github.com/taciturnaxolotl/neon
- Owner: taciturnaxolotl
- License: mit
- Created: 2025-02-01T04:47:09.000Z (9 days ago)
- Default Branch: master
- Last Pushed: 2025-02-01T05:25:26.000Z (9 days ago)
- Last Synced: 2025-02-01T05:25:33.443Z (9 days ago)
- Topics: hackclub, neon
- Language: Python
- Homepage: https://neon.hackclub.com
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
![]()
Neon
![]()
The bulbs glow a distinctive amber. It's like nostalgia but for something you never had.
![]()
![]()
![]()
## What's this?
This is my submission for the [Hackclub Neon](https://neon.hackclub.com) YSWS! I cycled through quite a few ideas before settling on a hackatime dashboard! It's a simple, clean, and minimalistic dashboard that displays the time coding for the day!
### Standard Lib
My project comes with a standard library of graphics primitives to help you get started quickly. Here are the key functions with example usage:
```python
from graphics import Graphics# Initialize the display
graphics = Graphics()# Drawing lines
graphics.draw_line(0, 0, 63, 31, COLORS["line"]) # x1, y1, x2, y2, color# Drawing rectangles
graphics.draw_rectangle(5, 5, 20, 10, COLORS["bar"]) # x, y, width, height, color# Drawing circles
graphics.draw_circle(40, 16, 8, COLORS["circle"]) # center_x, center_y, radius, color# Drawing Bezier curves
graphics.draw_curve([(0, 0), (4,25), (63, 31)], COLORS["curve"]) # control points, color# Drawing polygons
graphics.draw_polygon([(45, 16), (40, 32), (63, 31)], COLORS["polygon"], True) # points, color, fill# Drawing text
graphics.draw_text(3, 21, "3.2", COLORS["text"], 1) # x, y, text, color, size# Filling the display
graphics.fill(COLORS["background"]) # Fills entire display with color# Updating the display
graphics.refresh() # Refreshes display buffer
```The library handles all the low-level matrix display setup including pin configuration and color palette management. Colors are defined using hex values (0xRRGGBB format) and automatically mapped to the 16-bit color space.
![]()
![]()
© 2025-present Kieran Klukas