123456789101112131415161718192021 |
- Computing 3D scene from a permutations of a number string.
- Based on the ideas from <https://github.com/Eidonko/Permutation-feed-povray>.
- Example:
- Starting with a string, for example 234142243.
- We then consider all the permutations of the string, and for each permutation we divide the string into three substrings.
- For example, for the identity permutation we get: 234, 142, 243.
- Since 4 is the maximal number in the stream, we will be interpreting each substrings as integers base 5.
- In our example we get numbers: 69, 47, 73.
- We treat those three numbers as coordinates to put a cube at.
- We also assign different light sources to the cubes, at random.
- We also place some lights at various positions throughout the scene.
- this is WORK IN PROGRESS
- feature list:
- - proper UI
- - moving lights
- - connecting some positions with tubes
|