Giter Site home page Giter Site logo

quadtreedemo's Introduction

QuadTreeDemo

This program is a demonstration of a quad tree and a visualisation of its subdivision algorithm. Users can add points and watch the boundaries of each node in real time. A rectangle selection mechanism allows testing of the tree's ability to rapidly find points in a given region.

Usage

Primary Mouse Button: Controls selection rectangle. All points in the region selected will be found and highlighted by the quad tree. Highlights reset every time a new selection is made.

Secondary Mouse Button: Adds a new point under the cursor.

IMG

Compiling and Running

Navigate to the project directory. First you must compile the java classes: javac spaceindexer/*.java

Then simply run the program: java spaceindexer.Main

If you would like to clean up the compiled class files: rm -f spaceindexer/*.class

quadtreedemo's People

Contributors

jeanlucthumm avatar

Watchers

 avatar

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.