{"id":13634995,"url":"https://github.com/heineiuo/fibonacci-layout","last_synced_at":"2026-04-25T06:32:03.905Z","repository":{"id":57232137,"uuid":"94057503","full_name":"heineiuo/fibonacci-layout","owner":"heineiuo","description":"Fibonacci layout algorithm (tiling, square)","archived":false,"fork":false,"pushed_at":"2018-01-18T06:14:07.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T00:46:51.505Z","etag":null,"topics":["algorithm","fibonacci","layout"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heineiuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-12T05:10:36.000Z","updated_at":"2018-01-18T06:13:36.000Z","dependencies_parsed_at":"2022-09-04T23:01:21.323Z","dependency_job_id":null,"html_url":"https://github.com/heineiuo/fibonacci-layout","commit_stats":null,"previous_names":["heineiuo/fabonacci-layout"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heineiuo%2Ffibonacci-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heineiuo%2Ffibonacci-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heineiuo%2Ffibonacci-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heineiuo%2Ffibonacci-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heineiuo","download_url":"https://codeload.github.com/heineiuo/fibonacci-layout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243260584,"owners_count":20262711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","fibonacci","layout"],"created_at":"2024-08-02T00:00:38.720Z","updated_at":"2025-12-26T06:50:30.437Z","avatar_url":"https://github.com/heineiuo.png","language":"JavaScript","funding_links":[],"categories":["data structures and algorithms"],"sub_categories":[],"readme":"# fibonacci-layout \n\n===\n\nfibonacci layout (斐波那契布局算法)\n\n\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/34%2A21-FibonacciBlocks.png/600px-34%2A21-FibonacciBlocks.png\" /\u003e\n\n\n## usage\n\n```\nnpm install fibonacci-layout\n```\n\n```javascript\nconst fbLayout = require('fibonacci-layout')\n\nconst layout = fbLayout(8)\n\n// =\u003e \n\n{ n: 21,\n  width: 34,\n  height: 21,\n  direction: 'left',\n  nodes:\n   [ [ 0, 0, 1, 1 ],\n     [ 0, 1, 1, 1 ],\n     [ 0, -2, 2, 2 ],\n     [ -3, -2, 3, 3 ],\n     [ -3, 1, 5, 5 ],\n     [ 2, -2, 8, 8 ],\n     [ -3, -15, 13, 13 ],\n     [ -24, -15, 21, 21 ] ] }\n\n\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheineiuo%2Ffibonacci-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheineiuo%2Ffibonacci-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheineiuo%2Ffibonacci-layout/lists"}