Commit Graph

39 Commits

Author SHA1 Message Date
Aldo Cortesi
a59e8335c4 Note binvis 2015-03-03 21:59:56 +13:00
Aldo Cortesi
ddc9783983 Move unit tests to nose. 2013-12-10 15:12:39 +13:00
Aldo Cortesi
be4de938b5 A simple linear gradient color scheme for binvis. 2012-01-11 12:30:50 +13:00
Aldo Cortesi
52672e723c Make binvis play better with restricted symbol sets.
This means that we can now measure entropy in, for instance, JavaScript files,
where we don't encounter the full 256 symbols in the byte spectrum.
2012-01-09 14:21:51 +13:00
Aldo Cortesi
8cf7eb9664 Make auto-generation of destination file names smarter.
In particular, we strip the extension if there is one.
2012-01-05 18:53:20 +13:00
Aldo Cortesi
6f26b03215 Don't silently over-write files. 2012-01-05 18:50:08 +13:00
Aldo Cortesi
2d880b268a Fix bug in binvis Hilbert coloring. 2012-01-05 16:47:57 +13:00
Aldo Cortesi
4fb20e83fb Entropy visualization. 2012-01-05 16:26:11 +13:00
Aldo Cortesi
70686c7cbc Housekeeping - README -> README.md
- Add some links to relevant blog posts
- Add a description of binvis
2011-12-22 15:18:28 +13:00
Aldo Cortesi
07ee9ce1b0 Bump version, include binvis in setup.py. 2011-12-22 09:52:41 +13:00
Aldo Cortesi
473480fb4c Initial commit of binvis.
binvis uses space-filling curves to visualize binary files. This patch also
flips some curves to make them work better with the unrolled binvis view.
2011-12-22 09:45:30 +13:00
Aldo Cortesi
e0b065dd6c Housekeeping: whitespace, make sure Hilbert dimensions are always ints. 2011-12-20 09:20:30 +13:00
Aldo Cortesi
3d9917e39e Merge branch 'master' of github.com:cortesi/scurve 2011-12-03 19:41:33 +13:00
Aldo Cortesi
2637b9d9aa Fix dimension calculation in Hilbert curve. 2011-09-24 11:30:36 +12:00
Aldo Cortesi
d71d4b7bdf Make hilbert_point and hilbert_index compute the same curve.
Although both functions were computing well-formed Hilbert curves, they had
different rotations.

This problem was independently pointed out by Tyler Streeter and Peter
Frentrup, with many thanks to Peter for also suggesting the correct fix.
2011-02-27 16:12:40 +13:00
Aldo Cortesi
4e5fdffecf Small code refactoring for hcurve. 2011-02-22 11:03:47 +13:00
Aldo Cortesi
a02a8f157a Merge branch 'master' of ssh.github.com:cortesi/scurve 2010-07-28 14:29:33 +12:00
Aldo Cortesi
8208909448 Initial implementation of the H-curve.
Described in "Towards Optimal Locality in Mesh-Indexings" by R.
Niedermeier , K. Reinhardt  and P. Sanders .
2010-07-28 14:27:15 +12:00
Aldo Cortesi
0e238f76a2 Add option to specify background colour to drawcurve. 2010-07-13 21:11:23 +12:00
Aldo Cortesi
552b91da30 swatch: Create a colour swatch from a traversal of the RGB colour cube. 2010-01-26 17:19:48 +13:00
Aldo Cortesi
901024ee60 Fix gray curve generation. Start on a uniform interface for tools. 2010-01-26 16:42:07 +13:00
Aldo Cortesi
61d7ee423b graycurve implementation. 2010-01-25 13:09:18 +13:00
Aldo Cortesi
b2b4800a40 colorswatch -> colormap - a slightly better name. 2010-01-07 16:07:36 +13:00
Aldo Cortesi
17f3cb1b05 Update the README file with a description of supported curves. 2010-01-07 15:16:11 +13:00
Aldo Cortesi
6c7287b77c Add a factory method for creating curves through the common fromSize interface. 2010-01-07 15:12:12 +13:00
Aldo Cortesi
0def355ae0 Add a natural-order traversal of the points in a cube.
Fix a floating-point bug in ZigZag.
2010-01-07 13:59:29 +13:00
Aldo Cortesi
09003853ed Add colorswatch, a tool for analysing colours in an image. 2010-01-07 13:23:36 +13:00
Aldo Cortesi
7b0c276036 Add Z-order curve. 2010-01-04 22:04:01 +13:00
Aldo Cortesi
3cb5148c49 README file. 2010-01-04 16:39:49 +13:00
Aldo Cortesi
26d2d5ed46 Some refinements to the POV-Ray generations.
Also add a simple program to print out gray codes of a specified width.
2010-01-04 01:41:05 +13:00
Aldo Cortesi
a56d1cda43 Fix drawcurve, add start of PovRay cube rendering. 2010-01-03 15:01:26 +13:00
Aldo Cortesi
afe4c61e2e Add zigzag tests, reduce tick frequency for testpattern progress. 2010-01-03 11:48:09 +13:00
Aldo Cortesi
9cf05eb9e8 Another significant speed improvement for the Hilbert curve. 2010-01-02 18:07:58 +13:00
Aldo Cortesi
c61dc8db68 Include a progress bar library from another project of mine. 2010-01-02 16:35:24 +13:00
Aldo Cortesi
cb08558fa7 Start testpattern implementation, fix a bug in Hilbert.dimensions 2010-01-02 16:17:57 +13:00
Aldo Cortesi
8cfe03a699 Add a ZigZag curve and a solid density curve drawer. 2010-01-02 15:48:09 +13:00
Aldo Cortesi
10e21fba2b Some quick efficiency gains. 2010-01-01 23:00:32 +13:00
Aldo Cortesi
3d20efdf77 Add some simple routines for drawing a curve demo. 2010-01-01 22:34:11 +13:00
Aldo Cortesi
5c11a7fb90 Initial commit - broad structure for drawing Hilbert curves. 2010-01-01 21:24:26 +13:00