> For the complete documentation index, see [llms.txt](https://btc-substance.gitbook.io/btc-substance-academy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://btc-substance.gitbook.io/btc-substance-academy/vessels/vessels-dmt-unat/generative-art-algortithms.md).

# Generative Art Algortithms

* VESSEL's use custom GLSL shaders to manipulate the geometry insde the Vessel, allowing for much more complicated and varied animations than would be possible by standard CPU computation.&#x20;

  * 13 factors are determined by the Blockchain data, and fed into our proprietary GLSL engine to create a near-infinite number of differnet visualizations.
  * Color data, animation speed, geometric data and transparency data are all affected by these attributes.&#x20;
  * The visualizations are generated with a combination of Trigonometry and Perlin Noise distributions. [Click here for more about Perlin Noise](https://en.wikipedia.org/wiki/Perlin_noise), a very common video game randomization algorithm.&#x20;

  <figure><img src="/files/L8NUccdQPG5mB0HkW81s" alt=""><figcaption></figcaption></figure>

* The dots orbiting around the vessel are also determine by trigonometry, and use 4 algorithms + 4 sub-parameters to ensure that your vessel's orbiters will be unlike any others

<figure><img src="/files/bd7wkEJZhO2WzvZyBxzg" alt=""><figcaption></figcaption></figure>

### On-chain 3D models and custom materials

* The floating hands seen in every VESSEL (as well as some of the extra special 3D Addons...) come from 3D models that are inscribed onchain
* One of these models is the Mscribe MCrown. The others are paid, royalty-free, low-poly assets that have been converted to GLB/GLTF, and compressed as much as possible
* The VESSELS code loads each of these models using recursion, and manipulates them to fit the scene.  \
  ![](/files/74ITMi7XZ8Pp55sLIUxq)![](/files/bc476pZnHVMAvVuPNFbi)![](/files/UZLPC83sqmGLmHFEmcY9)
* It is IMPOSSIBLE for any 2 of the Horns, Crown or Halo to exist on the same VESSEL, except for very specific values of the **ANGEL & DEVIL** block-chian trait. (triggered by a "17" in the block number)
* These 3D models have their materials manipulated to change their color, brightness, metalness, roughness and other variable 3d properties to create a variety of different appearances.&#x20;
