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

extend register machine into other contexts #508

Open
tonycoz opened this issue Dec 10, 2022 · 0 comments
Open

extend register machine into other contexts #508

tonycoz opened this issue Dec 10, 2022 · 0 comments

Comments

@tonycoz
Copy link
Owner

tonycoz commented Dec 10, 2022

Right now the register machine is only used in the transform2() function, but this could be expanded into a more generic mechanism.

The case that made me consider this was flood_fills, the user could pass in a register machine expression for pixels that match flood fillable pixels, or for border pixels (or maybe both).

This will however add the concept of a non-color return value to the register machine, and to anything that needs to implement it (including the considered LLVM implementation.)

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