
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
wayne-graphics
Advanced tools
Wayne Graphics: a Tkinter-based graphics engine with Wayne-AI code explainer and API router
Wayne Graphics
A lightweight Python graphics library built to speedrun AP CSP assignments and simplify event-driven programming.
Created by Wayne, a high school TA and PyPI developer from Martin County, Florida.
Installation
bash pip install wayne-graphics
Quick Start
`python from graphics.core import * from graphics.shapes import * from graphics.events import * from graphics.groups import *
Create a window app = WayneGraphics(width=600, height=400, title="Wayne Demo")
Draw shapes drawRect(app.canvas, 50, 50, 100, 60, color="blue") drawCircle(app.canvas, 300, 200, 40, color="red") drawText(app.canvas, 150, 300, "Hello Wayne!", font=("Courier", 16), color="green")
Handle mouse click def handle_click(x, y): print(f"Mouse clicked at ({x}, {y})")
onMousePress(app.canvas, handle_click)
Handle key press def handle_key(char): print(f"Key pressed: {char}")
onKeyPress(app.root, handle_key)
Run the app app.run() `
Modules
core.py WayneGraphics: Main window class with built-in canvas and event loop onMousePress(func): Binds left-click handler onKeyPress(func): Binds keypress handler run(): Starts the GUI loop
shapes.py drawRect(canvas, x, y, width, height, color) drawCircle(canvas, x, y, radius, color) drawText(canvas, x, y, text, font, color)
events.py Mouse Events: onMousePress, onMouseRelease, onMouseDrag, onMouseMove onMouseEnter, onMouseLeave, onRightClick, onMiddleClick, onScroll Keyboard Events: onKeyPress, onKeyRelease Animation: onStep(root, func, delay) Custom Binding: bind(canvasorroot, event, func)
groups.py group = app.createGroup(canvas, shape) group.move(x,y)
Why Wayne Graphics?
Minimal boilerplate — perfect for beginners and AP CSP students Fast setup — one-line install, instant canvas Event-driven — intuitive mouse and keyboard handling Modular design — clean separation of core, shapes, and events Classroom-tested — used in real AP CSP assignments
Educational Use
Wayne Graphics was built to help students focus on logic and creativity, not boilerplate. It’s ideal for: AP Computer Science Principles Python graphics projects Teaching event-driven programming Rapid prototyping
Contributing
Pull requests are welcome! If you’d like to add new shapes, events, or features, feel free to fork and submit.
License
MIT License — free to use, modify, and distribute.
Credits
Built by Wayne, a 17-year-old TA and PyPI developer from Martin County High School.
Inspired by the need to speedrun AP CSP assignments with style.
FAQs
Wayne Graphics: a Tkinter-based graphics engine with Wayne-AI code explainer and API router
We found that wayne-graphics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.