Calco is a text-based calculator and grapher. It is designed to perform programming-related computations and manipulations on floats, integers, vector and matrices. Its syntax is loosely based on C and shader languages (GLSG, HLSL), and its standard library is tailored for graphics programming.
- Floats: variables and function definitions, standard functions and constants library
- Integers: bit shifts and masks, declaration and display in hexadecimal, binary,...
- Vectors and matrices: up to 4x4, dot and cross products, matrix-vectors operations, both GLSL and HLSL syntaxes are supported
- Booleans: conditional expressions and ternary operator
- Graphics-related functions: interpolation, reflection and refraction, transformation matrices, orthographic and perspective projections,...
- Graphing tool for 1D functions with additional parameters exposed as sliders
- Complete command history, listing of defined variables and functions
- On-the-fly evaluation and validation
- Customizable color schemes
- Implicit integer to float casting
- Extended precision
- Search in functions/variables/built-ins lists
- 2D domain sampling
- Random generation