Skip to content

Conversation

orionarcher
Copy link
Contributor

@orionarcher orionarcher commented Dec 6, 2021

This PR adds tiling to CrystalToolkitScene.

In particular, it add two new props tiling, which dynamically controls the tiling of the crystal, and maxTiling, which decides how large the tiling can grow.

This PR also add the TilingVisualization app that provides a demonstration of the new functionality by linking the tiling to three RangeSliders.

To be tiled, crystal-toolkit scene jsons must contain the lattice parameter, which is a new addition to the crystal-toolkit package.

A diagram of the logic in this PR can be found here.

TODO:

  • implement rough tiling
  • clean up tiling
  • add lattice information to crystal toolkit
  • implement animation

@orionarcher orionarcher marked this pull request as draft December 7, 2021 18:48
@orionarcher orionarcher changed the title [WIP] phonon animation Add tiling to CrystalToolkitScene Sep 19, 2022
@orionarcher orionarcher marked this pull request as ready for review September 19, 2022 21:20
@mkhorton
Copy link
Member

Thanks @orionarcher, had a chance to double-check this and looks to be in very good shape :) Will be trying to integrate upstream very soon.

@mkhorton mkhorton merged commit e8088cb into materialsproject:main Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants