This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| import colorsys | |
| """ | |
| cubify-image.py - Turns each pixel of an image into a scaled cube. | |
| Noah Paessel | @knowuh - updated on 2022-02-13 (test w Blender 3.1b) | |
| MIT license http://opensource.org/licenses/MIT | |
| WARNING: This script will generate a thousands objects (one per image pixel) | |
| I recommend only using it with image with less than 40,000 pixels (200x200). |
NewerOlder