Comments (2)
hey @marciot thank you for the interest in this project!
this is a great idea so i just pushed a new version of circlepacker that includes this feature (look for the pinCircle()
and unpinCircle()
methods).
let me know if it works for you or if you have any questions. have a great day!
from circlepacker.
Wow! This was super fast! I'll try it out tomorrow! I actually "cheated" and got the effect I wanted by registering the object I wanted to stay locked with the drag handler, but pin and unpin makes a lot more sense!
BTW, I do not know if you are familiar with 3D printing, but I am using your library in the following slicing program which will be unveiled to the public shortly! The idea is that if you place multiple objects, it uses the circle packer to keep them from overlapping on the print surface.
https://syndaverco.github.io/slicer
from circlepacker.
Related Issues (8)
- Action required: Greenkeeper could not be activated 🚨
- FR: resize to avoid overlap HOT 5
- [Feature Request] Ability to disable centering behavior HOT 5
- [Feature Request] Ability to modify circle radius HOT 3
- StopLoop incorrectly updates listeners HOT 1
- Calling setTarget repeatedly causes loop to stop prematurely HOT 3
- Execution environment HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circlepacker.