Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows nannou to run apps without having to use
winit
to create a window. It Builds off of @dzil123 's proof of concept branch (https://github.com/dzil123/nannou/tree/headless) and provides a similar API to non-headless.Theres still a few methods missing from the struct counterparts as I've only made whats been necessary to get things working. This is because I believe theres a more rusty way to do this. We could do this two ways:
"headless"
.It would be a non-default feature that when set, the structs change to not include
winit
types. Methods that can't work withoutwinit
could be left in but only run theunimplemented!()
macro. Also this feature could remove other modules that won't be necessarily used (like audio)