Normal Texture and Time Texture export functionality


This one is for advanced artists and developers.

You can now cycle through three image outputs while you create your art

  • The original image
  • A normal map that contains the X,Y direction of each pixel as it was created. Z axis or Blue color is always 255 (FF)
  • A time map. This needs more explanation. 
    • Every frame when something new is drawn to the canvas, time (int) is advanced by 1
    • All new drawn pixels get the "color" of the current time which is an RGB value but really it's a 3 byte hexadecimal number containing the "time"
    • that's why it looks like it restarts from black and gradients to blue again but at this second pass "green" is 1
    • For now, it's Your job to normalize time

Files

index.html Play in browser
Nov 20, 2023

Leave a comment

Log in with itch.io to leave a comment.