raster.art
SEARCH
Create Account
No wallets connected. Please connect a wallet first.
Crystal Lattice With Movable Unit Cell
Robert S. Robbins, 2022on fxhash
Platforms
fxhash
Description

This is an improvement of my original crystal lattice sketch. You can move the unit cell within the lattice using the keys: W = up, D = right, S = down, A = left. You could almost consider this a little game with the objective being to find a way to move the unit cell outside of the lattice. This will eventually happen because my checks for the boundary positions uses a float. JavaScript does not support precise float comparisons. The unit cell can be blue, green, or red with a randomly selected color. This sketch is meant to be interactive. Make sure you click within the canvas so your key presses are detected.