makaip / mathematix

A nodeblock-based math webapp.
https://makaip.github.io/mathematix/
GNU General Public License v3.0
4 stars 0 forks source link

5 is the only number | Textboxes & Value Handling #9

Closed makaip closed 7 months ago

makaip commented 8 months ago

Currently, the input node and variable node only handle the number "5." A text box system should be implemented to allow users to enter their own values. However, since we are using the eval() function, this may pose severe security risks. A potential solution may be to only allow the numbers, decimals, operators, and the letters "x," "y," and "z" for now. Currently, text in the "input" and "variable" boxes are aligned to the center of the box, however, we may want to reconsider aligning the values to the left or right. We should also consider incorporating text boxes into the function nodules themselves, similar to Blender.

image