https://github.com/trbznk/wallc Skip to content Sign up * Why GitHub? + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} trbznk / wallc Public * Notifications * Fork 0 * Star 18 * Calculate the layout on the wall to hang up pictures 18 stars 0 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code Latest commit @trbznk trbznk change code block language ... 43ebb0a Jan 2, 2022 change code block language 43ebb0a Git stats * 3 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time bin init Jan 2, 2022 .gitignore add pip install from repo directly Jan 2, 2022 README.md change code block language Jan 2, 2022 setup.py init Jan 2, 2022 wallc.py init Jan 2, 2022 View code wallc Installation Getting Started README.md 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 Readme Stars 18 stars Watchers 1 watching Forks 0 forks Releases No releases published Packages 0 No packages published Languages * Python 100.0% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.