Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom functions #9

Open
1 of 4 tasks
tomek-he-him opened this issue Oct 12, 2015 · 1 comment
Open
1 of 4 tasks

Custom functions #9

tomek-he-him opened this issue Oct 12, 2015 · 1 comment

Comments

@tomek-he-him
Copy link

<ref param="add" default="(a, b) => a + b" />
<rect parametric:x="add(3, 5)" />

…
<rect x="8" … />
@tomek-he-him tomek-he-him modified the milestone: 1.2 Oct 12, 2015
@tomek-he-him tomek-he-him removed this from the 1.2 milestone Oct 14, 2015
@tomek-he-him
Copy link
Author

They are actually built into mathjs – so they already work with http://npm.im/parametric-svg-patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant