-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
Create a "headless" example (an example that demonstrates an application with no windows) #209
Comments
It would be nice if nannou could still provide raw keyboard and mouse events in a "headless" context, as these might be useful for interacting with alternative displays like LED arrays, laser projectors, etc. This would require creating a I imagine the API would still be quite similar - the The vulkan instance should still be available in case the user wishes to do some form of image processing or GPU compute. |
Hello, any news on this issue? :) From my reading of the docs and a couple brief attempts, it would seem that nannou doesn't yet support headless |
Hey @tmladek, that's correct, we're still in the same state. My previous comment mentions some ideas on how we might be able to make some progress here if anyone is interested in contributing. Otherwise I'm sure we'll get around to this at some point, it just hasn't had high enough priority for us to focus on this just yet. Another idea - Before trying to work on a solution in nannou itself, I think I would first try to land a |
To add another potential use case: I'm currently looking for a general way to render video without displaying it in real time so rendering an one hour video doesn't take one hour. |
@merlindru This still requires a window or I missed a point in the link? |
We shouldn't make the assumption that the user always wants one or more windows - there are plenty of applications where the user might only want to use audio, lasers, etc.
This will involve tweaking some internals, and perhaps separating all of the windowing logic and user input event loop from the
App
type. I've been meaning to do a refactor of theApp
type so it could be useful to consider this issue while doing so.The text was updated successfully, but these errors were encountered: