• Stars
    star
    379
  • Rank 109,082 (Top 3 %)
  • Language
    C
  • License
    Other
  • Created about 9 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple C library for working with KD-Trees

kdtree

image

Overview

kdtree is a simple, easy to use C library for working with kd-trees.

Kd-trees are an extension of binary search trees to k-dimensional data. They facilitate very fast searching, and nearest-neighbor queries.

This particular implementation is designed to be efficient and very easy to use. It is completely written in ANSI/ISO C, and thus completely cross-platform.

See under the doc/ and examples/ directories to find out how to use the kdtree library.

License

Author: John Tsiombikas <[email protected]>

kdtree is free software. You may use, modify, and redistribute it under the terms of the 3-clause BSD license.

Download

Latest release (0.5.7): http://nuclear.mutantstargoat.com/sw/kdtree/files/kdtree-0.5.7.tar.gz

You can find previous releases here: http://nuclear.mutantstargoat.com/sw/kdtree/files/

You can also grab a copy of the source from github: https://github.com/jtsiomb/kdtree

More Repositories

1

c11threads

Portable C11 threads implementation over POSIX threads and win32 threads.
C
224
star
2

libdrawtext

Simple library for fast anti-aliased text rendering in OpenGL
C
82
star
3

xlivebg

Live wallpapers for the X window system
C
79
star
4

usbamigafloppy

USB floppy controller for Amiga disks
C
64
star
5

miniglut

minimal single-file GLUT implementation without unnecessary dependencies
C
57
star
6

pcboot

Bootable PC demo/game kernel
C
44
star
7

a500kbd

Amiga 500 PS/2 controller for external keyboard
C
40
star
8

termtris

Tetris game for terminals
C
35
star
9

libimago

Simple C library for loading and saving images in multiple file formats
C
33
star
10

shadertoy-view

A native shadertoy-compatible GLSL fragment shader previewer
C++
32
star
11

kernel

A minimal UNIX kernel project for x86 PCs
C
32
star
12

fsnav

3D filesystem navigator inspired by SGI FSN
C++
27
star
13

m68kcomputer

Homebrew Motorola 68010 computer
C
24
star
14

gbatris

Tetris for the GameBoy Advance
C
21
star
15

ubertk

ubertk (utk) is an API-agnostic C++ GUI toolkit targetted mainly towards graphics applications.
C++
21
star
16

libgoatvr

modular virtual reality abstraction library
C++
18
star
17

gbs-cgaega

CGA/EGA input board for the GBS-8200 VGA converter
Awk
17
star
18

assfile

C library for accessing assets (read-only data) from many different sources, with an fopen/fread-like API.
C
16
star
19

colcycle

Color-cycling image viewer
C
13
star
20

emurom

ROM emulator. Accepts ROM images through USB and acts as a parallel ROM chip.
C
12
star
21

shapeblobs

3D metaballs effect in a continuously changing shaped window
C
11
star
22

3dxdisp

Simple library for controlling the LCD of the 3Dconnexion SpacePilot 6-dof input device
C
11
star
23

c-ray

Minimal C raytracer widely used as a CPU benchmark
C
11
star
24

gph-cmath

C math library for graphics
C++
11
star
25

meshgen

Procedural 3D mesh generation tool
C++
10
star
26

libresman

Multithreaded resource data file management library
C
10
star
27

paintless

A pointless VGA paint program for DOS
C
9
star
28

m68kcomputer2

Homebrew 32bit computer based on the Motorola 68030
Makefile
8
star
29

sgikbd

PS/2 keyboard/mouse converter for old Silicon Graphics computers.
C
8
star
30

gph-math

C++ math library for graphics programs
C++
8
star
31

s3virgedriver

S3 Virge driver hack
C
8
star
32

libpsys

Reusable particle system library
C
8
star
33

rbtree

Simple balanced binary search tree (red-black tree) library
C
8
star
34

libtreestore

C library for reading/writing hierarchical data in a json-like text or a chunk-based binary format
C
8
star
35

auplay

Simple DOS audio player / SoundBlaster 16 example code.
C
7
star
36

visftp

Visual FTP client with dual-pane text-based UI for DOS and UNIX.
C
7
star
37

tinyblobray

Tiny metaball ray-marching in x86/x87 assembly
Assembly
7
star
38

cyberay

Realtime raytraced game experiment
C
7
star
39

gbasys

gameboy advance hardware abstraction library
C
7
star
40

gba-mtglife

Magic the Gathering life counter for the GameBoy Advance
C
6
star
41

tinyweb

Tiny web server library and daemon
C
6
star
42

libvmath

A mature C and C++ math library for 3D graphics http://nuclear.mutantstargoat.com/sw/libvmath/
C++
6
star
43

libanim

General-purpose hierarchical keyframe animation library
C
6
star
44

capsmap

DOS TSR for remapping caps lock
Assembly
6
star
45

frapix

Framerate monitoring and screen capture for UNIX OpenGL programs
C
6
star
46

goat3d

3D scene, character, and animation file format specification, library, and tools.
C
5
star
47

bootsplash

Boot splash-screen effect & boot chain-loader for IBM PC compatible computers.
Assembly
5
star
48

rpikern

Raspberry Pi kernel hacking experiments
C
4
star
49

csgray

Simple CSG ray tracer
C
4
star
50

cubemapper

Tool for converting panoramic images to cubemaps
C++
4
star
51

dos_demo_framework

Framework for writing retro demos for DOS pentium/pentium2-class PCs.
C
4
star
52

vrtris

Virtual Reality Tetris (VR optional)
C
4
star
53

texpand

Texture pre-processing tool for expanding texels into unused areas, to avoid filtering artifacts.
C
4
star
54

dropcode

random useful pieces of code to drop in other programs
C
4
star
55

clray

Realtime GPU (OpenCL) polygon mesh raytracer
C++
3
star
56

visor

lightweight system-independent embeddable text editor framework & text editor
C
3
star
57

metasurf

A library for implicit surface polygonization
Objective-C
3
star
58

henge

A simple but functional OpenGL 3D engine
C++
3
star
59

bootcard

Bootable wedding card for our friends Michael (Samurai) and Athena
C
3
star
60

retrobench

Multi-platform framebuffer drawing performance benchmark for retro-PCs
C
3
star
61

drippy

Datafile ripper/carver
C
2
star
62

nixiedisp

USB nixie tube numeric display
C
2
star
63

lspart

list partitions on a disk or image file
C
2
star
64

comptex

Tool for converting images to various OpenGL compressed texture formats, and saving them in a simple file format.
C
2
star
65

curvedraw

Simple curve drawing program
C++
2
star
66

tavli3d

A 3D client for multiplayer backgammon and similar "tavli" games
C
2
star
67

3dengfx

An old 3D engine, used for The Lab and MLFC demos in the 2000s.
C
2
star
68

retroray

retro-style deterministic renderer with integrated modeller/scene editor.
C
2
star
69

z80comp2

Another simple Z80 8bit computer
C
2
star
70

stereowrap

OpenGL stereoscopic visual wrapper
C
2
star
71

stereotunnel

Stereoscopic tunnel effect for iOS and Android
C
2
star
72

libwcam

Simple C library for video input on GNU/Linux
C
2
star
73

alphaclock

Pointless eye-candy transparent desktop clock
Objective-C
1
star
74

mtexp

an old library for setting up fixed function OpenGL multitexturing with simple expressions
C
1
star
75

goatkit

Themable and animated UI widget toolkit library for games
C++
1
star
76

phoneline

system for managing annoying ringing phones
C
1
star
77

moltenmetal

A tech demo for my experimental COM32 protected mode kernel for DOS
C
1
star