In this video, we will read color palettes from a JSON file and use a randomly selected palette to generate a simple scene.
Color Palettes Link:
https://github.com/CGArtPython/get-color-palettes-py/blob/main/palettes/100_five_color_palettes.jsonh
Start Code:
https://github.com/CGArtPython/blender_plus_python/blob/main/working_with_color_palettes/color_palettes_start.py
Complete Code:
https://github.com/CGArtPython/blender_plus_python/blob/main/working_with_color_palettes/color_palettes_done.py
How to convert HEX colors to Blender RGB with a Python script
Blender: How to set up Python console output on macOS
Blender: How to set up Python console output on Linux
Link to the color palettes resource:
https://www.colourlovers.com/
00:00 – Intro
00:43 – Get the color palettes
02:05 – Get the code
02:53 – Read the color palettes JSON
07:39 – Select a random color palette
09:39 – Generate 3D text
14:00 – Generate color planes
16:48 – Parent objects to an empty
19:09 – Outro
Intro Music
Fiery Trails – Silent Partner
Outro Music
Geographer – Easy Shake
#blender #python #scripting
Blender+Python: Learn how to read 100 color palettes from a JSON file
- Price type: Free