GithubHelp home page GithubHelp logo

diamondtilingviz's People

Contributors

amiss-awry avatar mstrout avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

diamondtilingviz's Issues

Spacing and starting at 0 issue with CellFields.

With the parameterized diamond tiles, the spacing of the CellFields appears to be off by one. On line 347, I increased the each CellField size to N+1 by N+1. I have a feeling that elsewhere where the cell_spacing and grid_spacing is being performed now needs bumped to N+2 by N+2.

What would be most helpful here is some code reading and debugging to understand what is going on and commenting of the relevant code in slice-viz.cpp.

Fix coloring of tiles

Want to make it so that tiles that are adjacent (different by 1 in one of the tile coordinates) should have a different color. Will want to have a std::map that maps some 3-tuple object to a color and then check neighbor colors before assigning a color to the current tile in the function tileCoordToColor(). Just need to be one off the last two tile dimensions or k1+1,k2+1 and k1-1,k2-1.

Wrong command-line flag for tile size tau.

dhmn217:DiamondTilingViz mstrout$ ./slice-viz -N 40 -T 4 -s 2 -e 4 -g halfradius -t 12
CmdParams_parseParams: spatialDim = 40
CmdParams_parseParams: numTimeSteps = 4
CmdParams_parseParams: Tstart = 2
CmdParams_parseParams: Tend = 4
CmdParams_parseParams: grid_spacing_approach = halfradius
CmdParams_parseParams: tiling = 12
Error: -t 12 is not in list of possible strings

t is already being used for the kind of tiling. Instead need to use -a for tau.

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.