https://github.com/maxwellito/wallery
Generate a map from a list of displayable elements
https://github.com/maxwellito/wallery
Last synced: about 1 year ago
JSON representation
Generate a map from a list of displayable elements
- Host: GitHub
- URL: https://github.com/maxwellito/wallery
- Owner: maxwellito
- Created: 2011-10-05T20:24:14.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T22:23:35.000Z (about 9 years ago)
- Last Synced: 2025-03-25T05:12:44.673Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.94 MB
- Stars: 22
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
wallery
=======
Wall + Gallery = Wallery
Wallery was a little PHP script made to generate a map of picture, but forget that, now it's in JavaScript. The idea is simple, you give a list of displayable objects (might be pictures, videos, iframe.. we just need their dimensions) and the script will generate a wall of the size you want.
In this demo, 4 maps are generated, then a jQuery plugin control them to create an infinite wall.
This repository content an exemple of usage (with pictures).
http://maxwellito.com/media/wallery/
Usage
-----
You need to create a Wallery object with :
- displayable items list (widht, height and a custom data)
- unit size (it's the size of the small square unit in the wall)
- map dimensions (width and height)
Future improuvements
--------------------
Switch to Grunt and build tests