How to use the pyno.draw function in pyno

To help you get started, we’ve selected a few pyno examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github honix / Pyno / pyno / window.py View on Github external
for node in self.nodes:
            node.render_base()

        self.batch.draw()

        for node in self.nodes:
            node.render_labels()

        for node in self.nodes:
            node.deactive()
        
        if self.code_editor:
            self.code_editor.render()

        if self.select:
            draw.selector(self.w, self.c)

        # ---- GUI ----

        # reset camera position
        gl.glLoadIdentity()