Coder Social home page Coder Social logo

chipmunk-ts's People

Contributors

bwhmather avatar josephg avatar laercioasano avatar nornagon avatar ricardoquesada avatar robwalch avatar wu-hao avatar yetanotherportfolio avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

yuruyigit

chipmunk-ts's Issues

Make BBTree nodes immutable

  • Remove link to parent node (depends on #4)
  • Factor out cache of touching leaves into separate array.
  • Figure out how to invalidate cached references to leaves that are no longer part of the tree.
  • make replaceChild return a new node instead of modifying this.
  • make insert return a new node instead of modifying this.

Hide static/dynamic spatial index split behind spatial index interface.

Required in order to be able to generate a type declaration file (#1) without leaking information about private interfaces.

  • Replace markSubtree with iterating over leaves and calling markLeafQuery
  • Recurse from root and filter by identity when marking intersecting leaves
    instead of trying to avoid the tree containing the leaf.
    • Add check to avoid marking self as intersecting in markIfIntersectingQuery
    • Make it possible to sort leaves deterministically
    • Replace left flag with comparison. Only call query function on intersections with earlier leaves.
    • Move query function out of the markIntersectingQuery
    • Replace touchingLeft and touchingRight with touching.

Generate and export typescript declaration file

  • Fix public class members with internal types on exported classes (#4 and TODO)
  • Add declaration: true, to tsconfig
  • Add types entry to package.json (TODO figure out which declaration file it should point to)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.