Python 3D Graphics Tutorial 9: Mixing Colors in Vpython

preview_player
Показать описание
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

In this video we show step-by-step instructions on how to create custom colors in Vpython, (visual python), and how to bring your models to life. In this example I will show how you can create objects of any color you want by mixing Red, Green, and Blue. I do not assume you are an expert, so these lessons are designed for complete beginners.
#Python
#Lessons
#Graphics
Рекомендации по теме
Комментарии
Автор

I AM LEGEND! After I remembered that the 3 vector parameters were 0-1 fractions instead of 0-255 values, this lesson made a beautiful orb. Thanks for your most excellent tutorials, Paul!

cbrombaugh
Автор

Thanks Paul. This has been a great intro to using color.

leeg.
Автор

Nice to have an easy lesson. I went back to the thermometers and made them change colors as they changed amplitude. Green was lower third, yellow was middle third and red was top third. Still having fun.

petefontana
Автор

Great lesson Paul. I was able to complete the homework and can claim LEGEND status! Now I have to review your solution and see how the solutions compare. Keep up the good work.

danstachelski
Автор

Thats interesting to see this in decimal numbers. I has already discovered this and was using the 0-255 scale, which has been working fine.

wayneswan
Автор

intellectually gifted. Thanks for the videos

FutureLOKJHI
Автор

Thanks for this Paul. Interesting if we could recreate 3D geometries as nodes and vertices, and represent them in tesselations. Based on this, assign variables and functions to perform FEA, CFD and other engineering analysis. The color coding approach from here can be used to represent the load thresholds.

bkairosh
Автор

Very interesting lesson.. Thank u sir.. 🙏

pralaymajumdar
Автор

I am Legend-ish.... couldn't do it before your solution post and had to refer a couple of times to get it done..

John-vwwj
Автор

This seemed a bit easier than most of the homework you set. I just used three random integer functions, plus a short sleep time and you get a result. I am sure you will have a more elegant solution.

neilausten
Автор

Thanks for this and why are you stop making live streams?

Nick-xzqq
Автор

I need some help, I have broken my VS Code and can't find how to make it work again. The programs are still there and the older non vpython ones run fine but if I try to run one from this series from my VPython folder they all come up with an error ModuleNotFoundError:
I have tried uninstalling VS Code and reinstalling but the same thing, is it possible that somehow I have deleted the module?
If I enter the import command line in the python shell there are no errors and I can create a shape from here but running from VS Code just doesn't want to play.

johnplowright
Автор

I see there are a few ways of doing this.
Here is my colour changing orb, complete with data representation:

bigbogeyface
Автор

Actually, I also like silly cat videos...😄

dlruick
Автор

Thank you again Paul for making me a legend.
I was also just playing around with the other parameters for the sphere as well as found the graph plotting functions

damsaddles
welcome to shbcf.ru