Sublucid Geometry
A technical blog with a small number of nifty geometric tricks that are hard to find elsewhere.
The source for all of the examples can be found in the assets/js/
directory.
A home for knowledge that is hard to find elsewhere
Home Page: https://zalo.github.io
License: MIT License
A technical blog with a small number of nifty geometric tricks that are hard to find elsewhere.
The source for all of the examples can be found in the assets/js/
directory.
re https://zalo.github.io/blog/line-fitting/#
There are a variety of iterative solutions available, but they often depend on an operation called the Singular Value Decomposition or SVD
I'm trying to collect examples of SVD use here
https://www.geogebra.org/m/Sc6ybzdu
This one
https://www.geogebra.org/m/Sc6ybzdu#material/hmTzuJ2d
uses the method from the first answer here I think
https://stackoverflow.com/questions/2298390/fitting-a-line-in-3d
which suggests it's a closed form problem with SVD, not iterative. Do the iterative methods calculate something better?
Thanks for your help, just trying to understand SVD a little better :)
Here's the rough code from my example for reference:
U=svd(1)
Σ=svd(2)
singularVectorForLargestSingularValue=Element(Transpose(U),b)
singularVectorForSmallestSingularValue=Element(Transpose(U),a)
directionVector= (singularVectorForLargestSingularValue(1),singularVectorForLargestSingularValue(2),singularVectorForLargestSingularValue(3))
bestFitLine = Line(Centroid,directionVector)
otp
Originally posted by @virusoff271189 in harryshi/TeleSafe2#1 (comment)
Hi
I was browsing through your blog, great stuff but it seems like the pages are either missing images or something is wrong with the page structures. I see white rectangles in the pages but no images there.
thanks
One of my favorite functions projects points onto line segments.
Orthogonal Regression is the process of finding the line that best fits a set of points by minimizing their squared orthogonal distances to it.
The essence of constraint is projection.
Inverse Kinematics is the process of finding a set of joint angles that reach a goal position.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.