Displaying 1 to 9 from 9 results

jquery-closest-descendant

  •    JQuery

Get the first element(s) that matches the selector by testing the element itself and traversing down through its descendants in the DOM tree level by level. It use a breadth first search (BFS), that mean it will going deeper in a subtree only until the first matching descendant was found in the current subtree.

closest-package - Find the closest package.json file meeting specific criteria

  •    Javascript

Find the closest package.json file meeting specific criteria by searching upwards from a given directory until hitting root.MIT. See LICENSE.md for details.

color-diff - Implemets the CIEDE2000 color difference algorithm, conversion between RGB and lab color and mapping all colors in palette X to the closest color in palette Y based on the CIEDE2000 difference

  •    Javascript

Implements the CIEDE2000 color difference algorithm, conversion between RGB and LAB color and mapping all colors in palette X to the closest color in palette Y based on the CIEDE2000 difference. Returns the closest color. The parameter bc is optional and is used as background color when the color and/or palette uses alpha channels.




static-kdtree - A static kdtree data structure

  •    Javascript

kd-trees are a compact data structure for answering orthogonal range and nearest neighbor queries on higher dimensional point data in linear time. While they are not as efficient at answering orthogonal range queries as range trees - especially in low dimensions - kdtrees consume exponentially less space, support k-nearest neighbor queries and are relatively cheap to construct. This makes them useful in small to medium dimensions for achieving a modest speed up over a linear scan. It is also worth mentioning that for approximate nearest neighbor queries or queries with a fixed size radius, grids and locality sensitive hashing are strictly better options. In these charts the transition between "Medium" and "Big" depends on how many points there are in the data structure. As the number of points grows larger, the dimension at which kdtrees become practical goes up.

closest - Return the closest element matching a selector up the DOM tree

  •    Javascript

closest is a polyfill for #Element.closest. The #Element.closest method returns the closest ancestor of the current element (or the current element itself) which matches the selectors given in parameter. If there isn't such an ancestor, it returns null.


dom-closest - For a given DOM element, find the first ancestor that matches a given CSS selector.

  •    Javascript

For a given DOM element, find the first ancestor that matches a given CSS selector.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.