PHP Classes

Hilbert curve: Generate points of an Hilbert curve

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (20)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 458 All time: 6,100 This week: 560Up
Version License PHP version Categories
hilbert-curve 0.8BSD License3.0Algorithms
Description 

Author

This class can be used to generate points of an Hilbert curve.

It generates points of an Hilbert curve and returns the point in an array.

The class implements the two dimension implementation.

Innovation Award
PHP Programming Innovation award nominee
June 2010
Number 6


Prize: One license of ScriptCase Enterprise edition
Hilbert curves are fractals used in space filling graphics and mapping applications.

This class provides a pure PHP implementation of the Hilbert curve fractals.

Manuel Lemos
Picture of Chi H.
  Performance   Level  
Name: Chi H. <contact>
Classes: 28 packages by
Country: France France
Age: 39
All time rank: 34122 in France France
Week rank: 298 Up10 in France France Up
Innovation award
Innovation award
Nominee: 22x

Winner: 3x

Example

<?php
require_once("hilbert.php");

$test = new hilbert();
$test->test_pth();

?>


Screenshots  
  • hilbert.png
  • hilbert2.png
  • hilbert3.png
  • hilbert4.png
  • hilbert_i.png
  • moore_0.png
  • tsp-1.png
  • tsp-2.png
  • tsp-3.png
  • tsp-4.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file GlobalMapTiles.php Aux. Mercantor projection of geo coordinates
Plain text file hilbert.php Class main class
Accessible without login Plain text file hilbert1.csv Output sample
Accessible without login Plain text file hilbert2.csv Output sample
Accessible without login Plain text file hilbert3.csv Output output
Accessible without login Plain text file hilbert4.csv Output sample
Accessible without login Plain text file moore_1.csv Output sample
Accessible without login Image file moore_1.png Output sample
Accessible without login Plain text file moore_3.csv Output sample
Accessible without login Image file moore_3.png Output sample
Accessible without login Plain text file moore_4.csv Output sample
Accessible without login Image file moore_4.png Output sample
Accessible without login Plain text file quadtree.php Example compute google maps quadtree
Accessible without login Plain text file test_hilbert.php Example example-test
Accessible without login Plain text file zcurve.csv Output sample
Accessible without login Plain text file zcurve0.csv Output sample
Accessible without login Plain text file zcurve1.csv Output sample
Accessible without login Plain text file zcurve2.csv Output sample
Accessible without login Plain text file zcurve3.csv Output sample
Accessible without login Plain text file zcurve4.csv Output sample

 Version Control Unique User Downloads Download Rankings  
 0%
Total:458
This week:0
All time:6,100
This week:560Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:36%StarStar
Rank:4065