Commit 7a39d2b0 authored by Starbeamrainbowlabs's avatar Starbeamrainbowlabs
Browse files

Add C# version to README.md

parent 3b565f29
# Visvalingam’s Line Simplification Algorithm
> My implementations of Visvalingam's line simplification algorithm in JS and C♯ (C♯ coming soon).
> My implementations of Visvalingam's line simplification algorithm in JS and C♯.
There's a [demo](https://starbeamrainbowlabs.com/labs/line-simplification/demo.html) available if you'd like to try it out before installing it and using it in your project :smiley_cat:
......@@ -47,6 +47,9 @@ import { simplify_line } from "./node_modules/visvalingam-simplifier/simplify_li
If you encounter any issues (especially relating to importing / requiring it) - please do let me know by [opening an issue](https://github.com/sbrl/line-simplification/issues/new)! I'll be happy to help :smiley_cat:
### C♯ Version
I've also ported the algorithm to C♯ for a project of mine. You can find it here: [SimplifyLine.cs](https://github.com/sbrl/line-simplification/blob/master/SimplifyLine.cs). It's actually a slightly modified copy of the real implementation I've done for a secret project of mine, so to that end you'll have to implement your own `Vector` class - or tweak it to use the [Vector2 class](https://gist.github.com/sbrl/589aac9044145cc41a008ca474758c7e) I wrote a while ago.
## Contribute
Found a bug? Experiencing difficulties? Please [open an issue](https://github.com/sbrl/line-simplification/issues/new)! Pull requests are accepted too - so if you've got an improvement / bug fix, I'll glading merge :smiley_cat:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment