DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Data Engineering
  3. Data
  4. Py2D: Making Vector Creation Easier, One Game at a Time

Py2D: Making Vector Creation Easier, One Game at a Time

Chris Smith user avatar by
Chris Smith
·
Mar. 14, 12 · Interview
Like (0)
Save
Tweet
Share
3.60K Views

Join the DZone community and get the full member experience.

Join For Free
Tired of dealing with the same common task while creating your vector-based games?  Stefan Seemayer feels your pain, and has been hard at work coming up with a solution to your problem.  He has created an impressive utility library featuring "tons of geometry-related functionalities" for creating vector-based games using Python, and while it's still in the early development stages, Py2D already has an impressive list of features including:


  • Classes for Vectors, Polygons, and Affine Transformations with basic operation
  • Polygonal Field-of-Vision Calculation
  • Generate polygon obstructions from tile map data
  • Perform boolean operations (union, intersection, difference) on polygons
  • Grom and shrink polygons (polygon buffering, polygon offsetting)
  • Decompose polygons into convex parts
  • Generate navigation meshes and navigate them

-- Py2D


Most of these features can be seen in action, thanks to Stefan's demo video:





Py2D is available on Github and is released under the BSD license, so feel free to use it in a commercial application or build on top of what Stefan has already created.  And, as previously mentioned, the project is still in it's early stages, so expect more features along the way.

Data structure

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Required Knowledge To Pass AWS Certified Solutions Architect — Professional Exam
  • Microservices Testing
  • Low-Code Development: The Future of Software Development
  • How To Best Use Java Records as DTOs in Spring Boot 3

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: