I am a fan of glumpy (or the related vispy), a python framework for scientific visualization. Unfortunately it does not have much in the way of user-interface (buttons etc.) I am also a fan of kivy and how it handles user interface elements. Both frameworks seem to have their own routines for drawing, window-creation etc. Can anyone point me in the right direction as to how I could use both tools in the same (desktop) app?
How can one use glumpy or vispy from kivy?
1.3k Views Asked by weemattisnot At
1
There are 1 best solutions below
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in KIVY
- Kivy - Create new widget and set its position and size
- Kivy on RaspberryPi (Raspbian) - unable to load any valuable window provider
- Updating Kivy GUI using clock object?
- Some weird error using Kivy 1.9.1
- Run an gif animation only once on kivy
- import file with Kivy/Buildozer
- Change color button in Kivy
- "ImportError: Cannot import name spawnu" while building apk using kivy
- CalledProcessError with buildozer and kivy on OSX Yosemite
- Pycharm, virtualenv and kivy setup
- Kivy Recycleview. How to use it?
- using Kivy Garden Graph in KV language
- Retrieve Image from sqlite3 database and directly display on kivy window
- How can I pass object properties to the Kivy .kv file
- Pycharm hangs building skeleton for Kivy environment
Related Questions in VISPY
- How to draw on an image in openGL?
- network animation with static nodes in python or even webgl
- How to embed vispy canvas in PyQt5 frame
- Auto Python to EXE having issues with vispy glfw backend
- How to show an image in the background of a surface plot in vispy?
- Create a barplot using vispy Rectangle
- Integrate VISPY into WX
- How can I get rid of zig zag artifact on sphere surface in vispy?
- PyQt5 on Fullscreen with embedded vispy canvas flickers when any widget is clicked
- Set a vispy auto zoom that shows all items on screen like pyqtgraph autoRange() function
- How to set widget for vispy use
- Warning in Spyder iPython window whenever I create a canvas in Vispy
- Drawing Dynamic Spectrogram in real time
- How to dynamically add an object to a scene in vispy canvas embedded in wxpython
- No example available for `vispy.visuals.GraphVisual`. My code just shows blank screen
Related Questions in GLUMPY
- AttributeError: module 'numpy' has no attribute 'bool'. when importing glumpy
- Getting transparency to work in glumpy with pygame
- OSError: [WinError 193] %1 is not a valid Win32 application (glumpy app)
- Glumpy installation fails on MacOS using pip
- Stack two widgets in a GUI
- Runtime error: Freetype library not found
- Is it possible to get the index of 'invisible' vertices in python-opengl like gloo, glumpy?
- Add glumpy widget to PyQt5 GUI
- Plotting 2D array on slice of 3D cube in OpenGL
- Mac Big Sur: Unable to load numpy_formathandler accelerator from OpenGL_accelerate
- How can one use glumpy or vispy from kivy?
- Getting the value of buffers in Python wrapper of OpenGL
- Reset glContext of a pyqt5 widget
- Glumpy Error 'OSError: [WinError 126] The specified module could not be found'
- RuntimeError: Freetype library not found, Glumpy Python 3.6 w10
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I've looked into this a little. The direction I chose was to try to create a Kivy window backend for Vispy, which would use the existing Kivy window but pass through all Kivy's events (input etc) to the Vispy canvas - effectively, where a Window backend would normally have a
while True:loop checking events and drawing each frame, I had a Kivy clock scheduled function doing the same thing. I think this approach should be possible and maybe fairly easy, but I'm not certain what problems could come up in integrating their eventloops. I didn't get very far with my experiments before running out of time for it.Probably you could also do things the other way around, binding Kivy's clock tick to a timer in Vispy that runs every frame. The importance of having opengl stuff run in the right order could still cause problems, but otherwise this should also be easy, at least at a first look. I didn't try it because I'm more familiar with Kivy's internals, and because my end goal was more of a Kivy app containing Vispy visualisations rather than the other way around.
There could be other problems in combining them, like possibly general opengl problems (I think one I had was a version mismatch of opengl they were targeting) or issues with drawing order and position - I was working with the idea in mind of ideally ending up with something like a VispyWidget in Kivy, which would constrain Vispy's drawing to the given area, but I didn't get that far. I'd love to see it work though, and I think that it should be possible but would need some experimentation and maybe contributions to both projects to fix any integration issues.
Edit: The same very probably applies to glumpy, but I haven't actually tried it or looked at its code.