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
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in KIVY
- I couldn't figure out why function does not work for a second time in Kivy
- Problem passing a function to a popup in Kivy?
- How to change the source image from a KV file
- Can I create a gRPC recipe for Python4Android to build a firestore kivy app?
- How to make object collision in python kivy?
- How to control the font size in Kivy settings panel for the menu item name in settings menu list
- configure: error: in `/home/kingofblack/buildozer/pythonTest/
- Kivy/KivyMD convert to APK - different UI on PC and device with Android
- Why am i getting black screen on kivy app
- How to redirect to another page eg main.py after user fill in and click register button and store it on .ini local database on python using kivy
- Kivy Buildozer mergeExtDexDebug FAILED
- How to use kivymd custom class in different kivymd app
- How to get kivy to set its defaults in the Config at runtime?
- How to update all label's text properties after changing default_font in Kivy?
- Buildozer failed to build APK due to error in native C code
Related Questions in VISPY
- Why does my PyQt5 and Vispy application only update the GUI when adding sleep in QThread's loop?
- Auto Python to EXE having issues with vispy glfw backend
- How to show an image in the background of a surface plot in vispy?
- How to animate the translation of a sphere in vispy
- How to get the event when the mouse is hovering an isosurface in vispy?
- Adding a PyQT5 gui over a vispy simulation
- How can I apply a transformation several times on a vispy mesh object?
- How to set different point sizes in VisPy?
- How can I modify the face colors of a mesh object with vispy when they're already set?
- How to draw multiple rectangles using Vispy?
- Vispy canvas can not be set to transparent background when given a rgba color
- Vispy Axis starts in wrong position before PAN/ZOOM
- Vispy and PyQt5 fullscreen resize event problem
- QgraphicsView slow line render
- find the graph in the network where the clicked node belongs to in vispy
Related Questions in GLUMPY
- AttributeError: module 'numpy' has no attribute 'bool'. when importing glumpy
- Mac Big Sur: Unable to load numpy_formathandler accelerator from OpenGL_accelerate
- Plotting 2D array on slice of 3D cube in OpenGL
- Stack two widgets in a GUI
- Add glumpy widget to PyQt5 GUI
- OSError: [WinError 193] %1 is not a valid Win32 application (glumpy app)
- Reset glContext of a pyqt5 widget
- Getting the value of buffers in Python wrapper of OpenGL
- Is it possible to get the index of 'invisible' vertices in python-opengl like gloo, glumpy?
- A way to stop color interplation on GL_EDGES?
- Install glumpy (or other non-conda packages) in conda environment
- Glumpy installation fails on MacOS using pip
- Cannot run Glumpy example app using GLFW as backend
- How to zoom in/out a 3D image using glumpy?
- Glumpy Error 'OSError: [WinError 126] The specified module could not be found'
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 # Hahtags
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.