Python Forum
Hex3d: 3-dimensional hex maps with Pygame
Thread Rating:
  • 3 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hex3d: 3-dimensional hex maps with Pygame
#1
Repo:
https://github.com/Mekire/hex3d

Overview:
Generates 3-dimensional hex maps using simplex noise and vanilla pygame (no OpenGL).
Maps can be rotated, zoomed, and the viewing elevation angle changed.


Requirements
  • numpy
  • opensimplex
  • pygame

Mouse Controls
  • Hold right mouse button and drag horizontally to rotate
  • Hold right mouse button and drag vertically to change elevation angle
  • Scroll wheel to zoom

Keyboard Controls
  • Left and right to rotate 60 degrees
  • Up and down to change elevation angle
  • Plus and Minus to zoom in and out
  • Spacebar to reset to initial view
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020