Updated Minecraft Classic lava animation algorithm. (markdown)

UnknownShadow200 2016-01-20 21:31:06 +11:00
parent 6d1f46a320
commit c428a89300

@ -3,4 +3,6 @@ This page demonstrates the process of reverse engineering the lava animation fro
First, a plot of the R, G, and B components of randomly selected pixel.
![Graph of R, G, B, components of a randomly selected pixel.](https://cloud.githubusercontent.com/assets/6509348/12446024/c8cccc7c-bfbb-11e5-8846-760fbd9e332b.png)
It can be clearly seen from this that all the components use the same basic algorithm, except that they are offset and scaled by different values.
It can be clearly seen from this graph that all the components use the same basic algorithm, except that they are translated and scaled by different values.
It can also be seen that the output of the basic algorithm is clamped between [-1, 1] or [0, 1] _before_ scaling and translation is applied.
___