The Python Podcast.__init__

PyRay: Pure Python 3D Rendering with Rohit Pandey


Listen Later

Summary

Using a rendering library can be a difficult task due to dependency issues and complicated APIs. Rohit Pandey wrote PyRay to address these issues in a pure Python library. In this episode he explains how he uses it to gain a more thorough understanding of mathematical models, how it compares to other options, and how you can use it for creating your own videos and GIFs.

Preface
  • Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.
  • I would like to thank everyone who supports us on Patreon. Your contributions help to make the show sustainable.
  • When you’re ready to launch your next project you’ll need somewhere to deploy it. Check out Linode at podastinit.com/linode and get a $20 credit to try out their fast and reliable Linux virtual servers for running your awesome app. And now you can deliver your work to your users even faster with the newly upgraded 200 GBit network in all of their datacenters.
  • If you’re tired of cobbling together your deployment pipeline then it’s time to try out GoCD, the open source continuous delivery platform built by the people at ThoughtWorks who wrote the book about it. With GoCD you get complete visibility into the life-cycle of your software from one location. To download it now go to podcatinit.com/gocd. Professional support and enterprise plugins are available for added piece of mind.
  • Visit the site to subscribe to the show, sign up for the newsletter, and read the show notes. And if you have any questions, comments, or suggestions I would love to hear them. You can reach me on Twitter at @Podcast__init__ or email [email protected])
  • To help other people find the show please leave a review on iTunes, or Google Play Music, tell your friends and co-workers, and share it on social media.
  • A few announcements before we start the show:
    • There’s still time to get your tickets for PyCon Colombia, happening February 9th and 10th. Go to pycon.co to learn more and register.
    • There is also still time to register for the O’Reilly Software Architecture Conference in New York. Use the link podcastinit.com/sacon-new-york to register and save 20%
    • If you work with data or want to learn more about how the projects you have heard about on the show get used in the real world then join me at the Open Data Science Conference in Boston from May 1st through the 4th. It has become one of the largest events for data scientists, data engineers, and data driven businesses to get together and learn how to be more effective. To save 60% off your tickets go to podcastinit.com/odsc-east-2018 and register.

    • Your host as usual is Tobias Macey and today I’m interviewing Rohit Pandey about PyRay, a 3d rendering library written completely in python

    • Interview
      • Introductions
      • How did you get introduced to Python?
      • Can you start by explaining what PyRay is and what motivated you to create it?
      • [rohit] PyRay is an open source library written completely in Python that let’s you render three and higher dimensional objects and scenes. Development on it has been ongoing and new features have so far come about from videos for my Youtube channel.
      • What does the internal architecture of PyRay look like and how has that design evolved since you first started working on it?
      • What capabilities are unlocked by having a pure Python rendering library which would otherwise be impractical or impossible for Python developers to do with existing options?
      • [rohit] Having a pure Python library makes it accessible with minimal fixed cost to Python users. The tradeoff is you lose on speed, but for many applications that isn’t an issue. I haven’t seen a library coded completely in Python that let’s you manipulate 3d and higher dimensional objects. The core usecase right now is Mathematical artwork. Google geometric gifs and you’ll see some fascinating, mesmerizing results. But those are created for the most part using tools that are not Python. Which is a pity since Python has a very extensive library of Mathematical functions.
      • What have been some of the most challenging aspects of building and maintaining PyRay?
      • [rohit] 3d objects – getting mesh plots. I have to develop routines from scratch for almost everything – shading objects, etc. Animated routines for characters.

      • What are some of the most interesting or unexpected uses of PyRay that you are aware of?

        [rohit] Physical simulations. Ex: Testing if a solid is a fair die, getting lower bounds for space packing efficiencies of solids. Creating interactive demos where a user can draw to provide input.

      • For someone who wanted to contribute to PyRay are there any particular skills or experience that would be most helpful?
      • Basic linear algebra and python
      • What are some of the features or improvements that you have planned for the future of PyRay?
      • Keep In Touch

        pyray repo – https://github.com/ryu577/pyray?utm_source=rss&utm_medium=rss

        Email
        GitHub
        LinkedIn

        Picks
        • Tobias
          • Berserker Series by Fred Saberhagen

          • Rohit

            • Samurai Math Youtube Channel
            • 3 Blue 1 Brown Youtube Channel
            • Isaac Arthur Youtube Channel

            • Links
              • PyRay
              • PyRay Youtube Videos
              • Microsoft Azure
              • Data Science
              • Columbia University
              • R
              • Nielsen
              • 3Blue1Brown – Music and Measure Theory
              • Manim
              • Python Subreddit
              • Maya
              • Blender
              • Panda3D
              • POVRay
              • Pillow
              • NumPy
              • SciPy
              • Support Vector Machine
              • Logistic Regression
              • Geometric GIFs
              • Vapory
              • RGB vs HSL Color Scales
              • FFMPEG
              • Quaternions
              • The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA

                ...more
                View all episodesView all episodes
                Download on the App Store

                The Python Podcast.__init__By Tobias Macey

                • 4.4
                • 4.4
                • 4.4
                • 4.4
                • 4.4

                4.4

                100 ratings


                More shows like The Python Podcast.__init__

                View all
                The Changelog: Software Development, Open Source by Changelog Media

                The Changelog: Software Development, Open Source

                283 Listeners

                Data Skeptic by Kyle Polich

                Data Skeptic

                482 Listeners

                Chat With Traders by Tessa Dao

                Chat With Traders

                1,979 Listeners

                Talk Python To Me by Michael Kennedy

                Talk Python To Me

                592 Listeners

                Software Engineering Daily by Software Engineering Daily

                Software Engineering Daily

                623 Listeners

                The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) by Sam Charrington

                The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

                446 Listeners

                Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

                Super Data Science: ML & AI Podcast with Jon Krohn

                297 Listeners

                Python Bytes by Michael Kennedy and Brian Okken

                Python Bytes

                215 Listeners

                Data Engineering Podcast by Tobias Macey

                Data Engineering Podcast

                142 Listeners

                Machine Learning Guide by OCDevel

                Machine Learning Guide

                764 Listeners

                Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

                Syntax - Tasty Web Development Treats

                986 Listeners

                DataFramed by DataCamp

                DataFramed

                267 Listeners

                Practical AI by Practical AI LLC

                Practical AI

                192 Listeners

                The Real Python Podcast by Real Python

                The Real Python Podcast

                140 Listeners

                Hard Fork by The New York Times

                Hard Fork

                5,432 Listeners