Comments (1)
I think this might be the line: https://github.com/fogleman/primitive/blob/master/primitive/model.go#L120
These get passed down to https://github.com/fogleman/primitive/blob/master/primitive/worker.go#L56, where age
is the number of optimization failures and n
corresponds to the number of randomly tried shapes. The original code goes even further, trying the whole process m
times and picking the best shape among all optimized shapes.
from primitive.js.
Related Issues (17)
- Documentation HOT 3
- Contributing HOT 6
- Suggestion HOT 2
- post scripts in npm HOT 3
- watchs HOT 6
- design
- Drawing Mode HOT 3
- electron port of primitive.js HOT 2
- Implement as build step HOT 5
- An unlimited mode HOT 2
- To put a textbox with the intent to put links to images HOT 11
- GIF generation HOT 3
- How to use on server-side? HOT 4
- Using an arbitrary SVG element as a 'shape'.
- Using textboxes in the options that involves numbers
- Bezier curves support HOT 2
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 primitive.js.