Is it possible to set and calculate a variable in a formula, and read it in a coloring code?

Is it possible to set and calculate a variable in a formula, and read it in a coloring code?
 
0
reply

You can not access variables from the formula in the coloring algorithm, but you can access #z. So if you really need something, you can add it to the init: and loop: parts of the coloring algorithm to calculate it the same way you do in the formula to have the value available.

You can not access variables from the formula in the coloring algorithm, but you can access #z. So if you really need something, you can add it to the **init:** and **loop:** parts of the coloring algorithm to calculate it the same way you do in the formula to have the value available.
edited Apr 12 at 6:26 am
 
0
reply

Yes, but it would be nice if access like "formula.name" would work. The code is complex, and copy it not so elegant. Also are calc results parameter dependent, so all values must be copied and changed too.
Tanks.

Yes, but it would be nice if access like "formula.name" would work. The code is complex, and copy it not so elegant. Also are calc results parameter dependent, so all values must be copied and changed too. Tanks.
 
0
reply
50
views
2
replies
2
followers
live preview
Enter at least 10 characters.
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft