metafizzy / metafizzy/packery

Feature request: Rotate items

Open
#564 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
4.3k
Forks
324
PR merge metrics
No merged PRs in 30d

Description

Hi, Packery works great, though it not able to find the optimal layout by also being able to rotate items.
I have created this manually now (by being able to rotate all items individually and re-render the layout), but would it be possible for Packery to auto rotate all the items needed to find the most optimal (effective) layout of the elements in the smallest square area?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reviewing Packery's existing item rotation and layout-rendering behavior, then determine how automatic rotation and optimal square-area selection should be defined. Done would require an agreed algorithm, implementation scope, and tests demonstrating the resulting layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.