Comments (7)
I will document what each parameter does.
It would be good if MaxPoints was 0 and BlurRadius was provided, that the algorithm blurs but does not perform the triangulation process.
Could you detail a little bit more what is your issue? MaxPoints
should be greater than zero because that parameter defines from how many points the vertices will be constructed.
from triangle.
That's right. I understand that. I'm suggesting perhaps allowing MaxPoints
to be 0, and if so, no triangulation is applied. Hence if BlurRadious is provided, then the algorithm just blurs.
from triangle.
I'm trying to understand why would you need something like that? I can make it to work that way, but just bluring out an image is not the scope of this library. But you might have a solid argument in the favor of your request.
from triangle.
Well it's logically consistent with how the algorithm should behave. After all, if MaxPoints
is 0, then that is sensible behaviour.
from triangle.
That's right. I understand that. I'm suggesting perhaps allowing
MaxPoints
to be 0, and if so, no triangulation is applied. Hence if BlurRadious is provided, then the algorithm just blurs.
Dude, just add an "if points==0" in your script and make your blurring, why would you ask for disabling triangles in triangulation library
from triangle.
I want to leverage the blurring that the library already provides.
from triangle.
After all it make sense if we take from the logical point of view, because normally when there are zero points, there are no points to generate the vertices from. Also I agree that this way we can leverage the blurring function as an independent method without being interconnected to the triangulation function itself. I have updated the code, but probably won't make a new release for now, so you might change the go.mod
file.
from triangle.
Related Issues (17)
- Awesome LowPoly2D HOT 1
- readme states -width flag, -linewidth is in source HOT 4
- Panic for image with specific dimension HOT 4
- Transparent images HOT 13
- How to generate sample10.png?What parameters? HOT 4
- SVG output HOT 5
- Index out of range when using a blur radius value greater than 254 HOT 1
- doesn't seem to work HOT 13
- Overlapping/excessive triangles HOT 15
- Backward compatible? HOT 6
- "Help" sometimes skip descriptions HOT 3
- Apple Silicon Support? HOT 1
- can't load package: package HOT 3
- -in > Input file = all the *.jpg inside a folder HOT 3
- svg output HOT 3
- Cannot find go install 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 triangle.