Skip to content

trbznk/wallc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wallc

Calculate the layout on the wall to hang up pictures.

Installation

pip install git+https://github.com/trbznk/wallc.git

Getting Started

Currently a picture has 4 different parameters:

picture parameters

Use the wallc module to initialize the wall and all planned pictures with certain parameters:

from wallc import Picture, Suspension, Wall, Layout

p1 = Picture(800, 600, Suspension(600, 100))
p2 = Picture(500, 500, Suspension(300, 120))
p3 = Picture(1200, 800, Suspension(800, 200))
layout = Layout(Wall(4000, 2000), pictures=[p1, p2, p3])
layout.layout()
layout.draw()

Example Output

There are different marks in the output image to specify the exact positions to hang on the pictures on the wall:

Example Zoom

About

Calculate the layout on the wall to hang up pictures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages