The Toad's Slimy Mudhole

where The Toad intercourses Python

Preamble

After closing AmphiSoft plugins project long ago in a universe far away The Toad of Great Mental Powers made a decision to implement some of spontaneous ideas, developed or implied, into something potentially easy to understand and hopefully simple to use by humans. As an «easy to understand» mean of production Python was chosen (that was probably an unrecoverable mistake. Or may be not), as ideas regular ones like «what happens if we map image signal to something else» were used. As a result, some Python projects described hereby were created and shared on GitHub, free to download and use.

Amble, i.e., the projects:

POVRay img2mesh

Python program for converting PNG image into POVRay 3D mesh, so that bright pixels turns into high peaks on resulting 3D landscape - the brighter source image pixel, the higher 3D mesh node point is. Exported POVRay scene file contains everything necessary to be rendered right out of the box (camera, lights, texture), or may be edited later.

Update: In version 2.9 Autodesk DXF export added. Considering Wavefront OBJ and stereolithography STL export added in version 2.8, this means comprehensive support for practically all non-POV export formats other software may import and handle.

In version 2.8.2 mapping added to img2pov, allowing applying non-destructive changes during POVRay rendering.

Read more...

POVRay Mosaic

Current project includes Python programs converting PNG image into POVRay mosaic, consisting of various objects - spheres, cylinders, boxes, prisms, etc.

POVRay mosaic provide well structured easy to edit output.

Rendered images are suitable for scrapbooks, posters, and other creative ways to entertain and/or annoy people.

Update: In version 1.11.1.1 texture syntax changed to fully blown texture, thus providing a capability to build layered textures.

Read more...

POVRay Thread

A set of programs, which read pixels of source image and convert them into a complex 3D structure, simulating something textile and thread related, in POVRay format. Currently tabby/linen plain weave, and cross-stitching simulations are provided. Exported 3D structures are configurable regarding thread appearance and pattern distortions.

Update: Color simplification utility «Averager» added to repository, allowing to simulate using single thread for flat color image area.

Read more...

Scale2x and Scale3x in pure Python

Pure Python implementation of Scale2x and Scale3x image rescaling algorithms. Command line, GUI and batch processing programs available, free and open source.

Update: Batch programs since versions 2024.04.26 turned to multiprocessing, halving processing time.

Read more...

Python batch files

Some batch processing scripts made for my personal regular use. May appear to be useful to others. Read more...