Skip to content

tonyshe/Isotile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isometric map renderer for Python. See "SAMPLE_OUTPUT.png" for an example.

Takes an N x M map of RGBA values and pixel height values and represents them as a NxM isometric block.

The input color_grid a numpy array size N x M x 4, where N is the desired height, M is width, and the 4 represents the RGBA values (integers 0-255 or uint8).

The input height_grid is a N x M x 1 numpy array N x M and a positive integer pixel height, representing how tall each corresponding block will be.

Make sure image_assets contains the top, middle, and bottom .pngs.

About

Isometric renderer in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages