Simulation of Equations for creative code golf! where...

t = time in seconds
i = index of dot 0 - 255 (starting at top left)
x = column index 0 - 15
y = row index 0 - 15

Result of the equation determines size. 0 - 1. Negatives change to secondary color!

  • Examples:
    • sin(t)
    • i / 256
    • y - t 
    • sin(t-sqrt((x-7.5)^2+(y-6)^2)) 
    • sin(y/8 + t) 
  • Supported Functions:
    • sin(u) cos(u) tan(u) abs(u) asin(u) acos(u) atan(u) atan2(u,v) cosh(u) tanh(u)
    •  sqrt(u) sign(u) floor(u) ceil(u) min(u,v) max(u,v) sing(u) 
    •  exp(u) log(u) log10(u) round(u) 
    •  random(min,max) 
  •  Math Operators 
    •  * + - / ^ %
  •  Unsupported Functions:
    • Boolean Operators
      • (y-4*t|0) * (x-2-t|0)
      • 4 * t & i & x & y    
    • Bitwise
      • (1<<x) 
      • (t*10) & (1<<x) && y==8    
    • LookupTable
      • [1, 0, -1][i%3]

Inspiration - https://tixy.land/

Utilized - https://github.com/akuukka/ExpressionSolver

https://github.com/mmaletin/UnityColorPicker

Development log

Comments

Log in with itch.io to leave a comment.

oughta call it UniTix

(1 edit)

Untixy. Haha