HOME | DD

ugnvs — Heptapod

Published: 2020-07-10 18:09:38 +0000 UTC; Views: 356; Favourites: 14; Downloads: 0
Redirect to original
Description

View enlarged, please.

Done in Blender 2.83 LTS. Each of the 'pods' was generated by the following script:


import bpy, mathutils
import math, random


def irregular_spiral(): # aka tentacle
    mt = mathutils.Matrix.Translation((0.0, 0.0, 0.0))
    ms = mathutils.Matrix.Scale(0.985, 4)
    mz = mathutils.Matrix.Rotation(math.radians(8),4,'Z')
    mt1 = mathutils.Matrix.Translation((0.3, 0.0, 0.1))
    mx = mathutils.Matrix.Rotation(math.radians(15),4,'X')
    my = mathutils.Matrix.Rotation(math.radians(15),4,'Y')
    rotations = [mz, mz @ my, mz @ mx]
    weights   = [1, 1, 1]
    for i in range(90):
        bpy.ops.surface.primitive_nurbs_surface_sphere_add(radius=0.5)
        obj = bpy.context.active_object
        obj.matrix_world = mt
        mr = random.choices(rotations,weights)[0]
        mt =  mt @ ms @ mr @ mt1
       
irregular_spiral()

Related content
Comments: 0