ryu577 / pyray Goto Github PK
View Code? Open in Web Editor NEWA 3d rendering library written completely in python.
License: MIT License
A 3d rendering library written completely in python.
License: MIT License
Looks like travis deprecated some bits, so all the tests are failing.
First off, I just want to say this project is really cool, and it's great to see a pure Python 3d rendering library like this. Great work! :)
I've started experimenting with it in the browser using ASGI and websockets, https://github.com/erm/starray. This example modifies the draw_oscillating_sphere
method slightly to write the output to a bytes buffer and stream it to the browser, rather than writing a series of image files to the disk.
Would this project be open to configurable output settings or some other solution to bypass saving images for cases like this?
pip install raypy
Ok.
ipython
import pyray
Result:
ModuleNotFoundError: No module named 'pyray'
I received this error when working on the examples, particularly with the best_plane_direction function:
Traceback (most recent call last): File "animatedPlane.py", line 4, in <module> best_plane_direction(im_ind=i) File "C:\Users\hrans\AppData\Local\Programs\Python\Python37\lib\site-packages\pyray\shapes\plane.py", line 77, in best_plane_direction render_scene_4d_axis(draw, r1, 4, scale = scale, shift = shift) NameError: name 'render_scene_4d_axis' is not defined
It appears as though a function call could be calling a non-imported function from a lib.
First of all, thank you for your contribution. I would like to ask how to render a pov file to generate the corresponding image?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.