Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simplifying a path
#8
(05-16-2021, 09:17 PM)Ofnuts Wrote:
(05-16-2021, 09:20 AM)Ottia Tuota Wrote: The plugin is based on a neat mathematical idea (I think)

Care to expand on that?

By the way, there is a know algorithm to smooth a path, implemented in a C plugin (but unlike yours, it doesn't remove anchors, it just finds the set of colinear tangents that ensure that the paths is smooth on all anchors).

Thanks, Ofnuts, I shall expand on it but not now since I have no time. The great problem for me is that my knowledge about all algorithms out there is very very small, so if googling does not help I tend just to write my own solutions.

Perhaps you could give some hints on how to find such info, like that site you mentioned, or that Welzl's algorithm (that is a pearl!) and such? When you need an algorithm, how and where do you search for one?

This simplifying plugin of mine is meant to simplify, so its main purpose is to delete anchors. But it also creates new anchors. So, it does not rely on the original anchors but makes its own decisions. Smoothing is just a by-product.
Reply


Messages In This Thread
Simplifying a path - by Ottia Tuota - 05-16-2021, 09:20 AM
RE: Simplifying a path - by Ottia Tuota - 05-16-2021, 10:47 AM
RE: Simplifying a path - by denzjos - 05-16-2021, 04:24 PM
RE: Simplifying a path - by Ottia Tuota - 05-16-2021, 05:06 PM
RE: Simplifying a path - by Krikor - 05-16-2021, 05:23 PM
RE: Simplifying a path - by Ottia Tuota - 05-16-2021, 07:10 PM
RE: Simplifying a path - by Ofnuts - 05-16-2021, 09:17 PM
RE: Simplifying a path - by Ottia Tuota - 05-17-2021, 04:52 AM
RE: Simplifying a path - by Ofnuts - 05-17-2021, 10:57 AM
RE: Simplifying a path - by Ottia Tuota - 05-18-2021, 03:18 PM
RE: Simplifying a path - by Ofnuts - 05-18-2021, 05:27 PM
RE: Simplifying a path - by Ottia Tuota - 05-19-2021, 07:46 AM
RE: Simplifying a path - by Ofnuts - 05-19-2021, 12:13 PM
RE: Simplifying a path - by Ottia Tuota - 05-19-2021, 02:33 PM
RE: Simplifying a path - by Ottia Tuota - 05-31-2021, 05:36 PM
RE: Simplifying a path - by Zero01 - 05-31-2021, 08:46 PM
RE: Simplifying a path - by Ottia Tuota - 06-01-2021, 06:16 AM
RE: Simplifying a path - by Ottia Tuota - 06-27-2021, 01:02 PM
RE: Simplifying a path - by Krikor - 11-16-2021, 05:06 PM
RE: Simplifying a path - by Ottia Tuota - 11-16-2021, 06:11 PM

Forum Jump: