Git Product home page Git Product logo

scurve's People

Contributors

cortesi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scurve's Issues

cool improvement

@cortesi
I was working on something similar a few years back, but the image magic library I used sucked, so it got held back and forgotten. I have some ideas for improvements though.

  • It is extremely helpful to be able to resize the width of images (on-the-fly), because doing this allow certain sections to align perfectly. In fact for certain types of bit mapped images, you can actually see them!
  • The data are often aligned to certain popular values (128, 256, 512,1024 etc), setting the width to multiples of these also help the visualization.
  • When visualizing large blobs, it is useful to average the byte values. So that 1 "pixel" can represent the average of multiples of (same set as above). That way, for example, a section of mostly ASCII, will still be represented as ASCII and so on.
  • ARM code (and surely many other code) has typical sequences of bytes, that could be visualized as code etc. (alternatively, we could combine this with objdump and/or readelf output, to know what sections we are in.

There are more, but since IDK if anyone will ever see this...

Using Hilbert and Z-order for co-odrinates indexing

Hello,
I am trying to use the Z-order and Hilbert filling curve as a way to index co-ordinates.
The problem that I am facing is that when using a negative co-ordinate as input for the algorithm I get back unusual numbers as index.

Does your implementation support negative inputs or should I for example normalize the input dataset in some way to make it non-negative?

Is the Hilbert curve sequence accurate?

h = hilbert.Hilbert(3, 3)

for i in range(15, 17):
x,y,z = h[i]
print(x, y, z)

This prints
2 0 1
3 0 2

Is that an invalid increment since both the X and Z values change in one step?

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.