Metadata-Version: 2.1
Name: hs-pyrender
Version: 0.2.0.dev1
Summary: A rendering Library made in python
Home-page: https://github.com/HotShot0901/PyRender
Author: Arnav Choudhary
Author-email: contact.hot.shor.1234@gmail.com
License: MIT
Description: # PyRender
        This is a Rendering engine made in Python by Arnav
        
        
        ## Installing
        You Can Install it either by running the command
        
        `git clone https://github.com/HotShot0901/PyRender`
        If you have git installed
        
        OR
        
        You can Download the latest ZIP or any release.
        
        Run `python test.py` (in CMD) to check your Installation.
        
        OR
        
        You can use pip.
        
        `pip install hs-pyrender`
        
        ### If downloaded from GIT
        You could paste the **pyrender** sub-folder in `Python_Dir/Lib/site-packages` to use it in your project.
        
        Or, you could also make a sub-project in the main **PyRender** and use `from pyrender import *`.
        
        ## Usage
        To import: `from pyrender import *`
        
        Making a Renderer: `renderer=PyRender(dimension)` dimension could be **(640, 360)**
        
        Vector2's: They are very essencial to rendering. They tell the position and dimension of the shape.
        
        Drawing: `renderer.drawRect(posX, posY, dimX, dimY, Color(r, g, b), DrawMode.Top)`
        
        Frame loop:
        
            for _ in range(180):
                renderer.rotate(math.randins(_))
                renderer.drawRect(posX, posY, dimX, dimY, Color(r, g, b), DrawMode.Top)
        
                renderer.nextFrame(delCurr=True)
        
        
        Rendering: `renderer.render(renderPath, videoTitle)`
        
        You will get your video in **renderPath/frames/videoTitle.mp4**
        
        Finally:
        
            from pyrender import *
            renderer=PyRender((640, 360))
        
            for _ in range(180):
                renderer.rotate(math.randins(_))
                renderer.drawRect(posX, posY, dimX, dimY, Color(r, g, b), DrawMode.Top)
        
                renderer.nextFrame(delCurr=True)
        
            renderer.render("E:", "video")
        
Keywords: render PyRender 3d
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.6
Description-Content-Type: text/markdown
