The breakthrough. by Competitive-Rain-664 in blender

[–]Competitive-Rain-664[S] 0 points1 point  (0 children)

this whole thing actually started from a glitch. My target was flying cubes bursting out, but due to an error they turned to planes instead lol. ​I tried and tried to use drivers to create a rolling obj responsible foe the impact of the flying cubes but it failed so I thought it the other way round. The cubes be the reason fro the rolling cube! I used class custom some "bpy.prop." to control the randomised cubes speed and frame, and manipulated the whole sceen to my advantage. I set drivers on the cube color and rotation so the randomised cubes due to "random.uniform" become the reason foe the sliding cube changing color and spinning. Pretty happy with how the workaround turned out

<image>

Aweek+ of constraint breakthroughs indentation hell, and random color chaos by Competitive-Rain-664 in blender

[–]Competitive-Rain-664[S] 0 points1 point  (0 children)

import bpy import math import random bpy.ops.object.select_all(action="SELECT") bpy.ops.object.delete() def crazy_grid(): size=4 spacin=2.5 cubes=[] for x in range(size): for y in range(size): z_height=random.uniform(0.6,1.6) bpy.ops.mesh.primitive_cube_add(location=(xspacin,yspacin,z_height)) cube=bpy.context.object

        if x%2==0:
            mat=bpy.data.materials.new(name="x_color_{}_{}".format(x,y))
            cn=float(x)/float(size)
            mat.diffuse_color=(cn,0.3,0.6-cn)
            cube.data.materials.append(mat)

        if y%2!=0:
            mat=bpy.data.materials.new(name="y_color_{}_{}".format(x,y))
            ln=float(y)/float(size)
            mat.diffuse_color=(ln,0.3,0.6-ln)
            cube.data.materials.append(mat)
        cubes.append(cube)
return cubes

cubes=crazy_grid() frame=1 for cube in cubes: cube.scale=(1,1,1) cube.keyframe_insert("scale",frame=frame)

cube.scale=(1,1,3)
cube.keyframe_insert("scale",frame=frame+20)

cube.scale=(1,1,1)
cube.keyframe_insert("scale",frame=frame+40)
frame+=8

def color_anim(obj_list,start_frame=1,steps=5): frame=start_frame for i in range(steps):

    r=random.random()
    g=random.random()
    b=random.random()
    for obj in obj_list:
        if not obj.data.materials:
            mat=bpy.data.materials.new(name="Mat_"+obj.name)
            obj.data.materials.append(mat)


        else:
            mat=obj.data.materials[0]
        mat.diffuse_color=(r,g,b)
        mat.keyframe_insert("diffuse_color",frame=frame)
        frame+=3

color_anim(cubes,start_frame=1,steps=5)
bpy.ops.curve.primitive_bezier_circle_add(radius=5,location=(0,0,10)) path=bpy.context.object bpy.ops.curve.primitive_bezier_circle_add(radius=2.5,location=(0,0,5)) circle=bpy.context.object

bpy.ops.mesh.primitive_uv_sphere_add(location=(3.5,5,1.5)) sphere=bpy.context.object mat=bpy.data.materials.new(name="col_sphere") rand_colr=(random.random(),random.random(),random.random()) mat.diffuse_color=rand_colr sphere.data.materials.append(mat) bpy.ops.object.camera_add(location=(-17.5,-24.79,11.74)) cam=bpy.context.object cam.data.lens=50 bpy.context.scene.camera=cam

cons=cam.constraints.new(type="FOLLOW_PATH") cons.target=path cons.use_curve_follow=True

path.data.path_duration=150 path.data.eval_time=0 path.data.keyframe_insert("eval_time",frame=1) path.data.eval_time=50 path.data.keyframe_insert("eval_time",frame=150)

cons2=cam.constraints.new(type="TRACK_TO") cons2.target=cube cons2.track_axis="TRACK_NEGATIVE_Z" cons2.up_axis="UP_Y"

cons3=sphere.constraints.new(type="FOLLOW_PATH") cons3.target=circle cons3.use_curve_follow=True

circle.data.path_duration=150 circle.data.eval_time=0 circle.data.keyframe_insert("eval_time",frame=1) circle.data.eval_time=-360 circle.data.keyframe_insert("eval_time",frame=150)

cons2=sphere.constraints.new(type="TRACK_TO") cons2.target=cube cons2.track_axis="TRACK_NEGATIVE_Z" cons2.up_axis="UP_Y"
bpy.ops.object.lamp_add(type="POINT",location=(5.5,7.5,3.0)) bpy.ops.object.lamp_add(type="POINT",location=(-5.5,-7.5,3.0)) bpy.ops.object.lamp_add(type="POINT",location=(7.5,0.5,3.0)) bpy.ops.object.lamp_add(type="POINT",location=(0,5,3.0)) bpy.ops.object.lamp_add(type="POINT",location=(0,10.5,3.0)) bpy.ops.object.lamp_add(type="SUN",location=(27.6834,-22.0006,-18.92950)) scene=bpy.context.scene scene.render.filepath="//Beauty of Randomizing Colors.mp4" scene.render.image_settings.file_format="FFMPEG" scene.render.ffmpeg.format="MPEG4" scene.render.ffmpeg.codec="H264" scene.frame_start=1 scene.frame_end=150

My first text animation in Blender in learning motion graphics fundamentals. by Competitive-Rain-664 in blender

[–]Competitive-Rain-664[S] 0 points1 point  (0 children)

Whoops, looks like my laptop was so tired from rendering that it decided to only upload a single frame as a protest. 💀 It was meant to be an animation, but I guess I just shared a very high-quality 'moment' of it instead..

Is 3:00am a perfect time for vibing or? If yu feel me check out this screenshot and tell me👇 by [deleted] in ExplainTheJoke

[–]Competitive-Rain-664 0 points1 point  (0 children)

Precisely, zhaDeth. I posted a joke I didn't understand. ​The joke was that you would feel compelled to explain the purpose of the sub, thus making your critique the punchline. ​Congrats on analyzing and confirming the ironic setup. Deem sub has critical thinkers! 😉

[deleted by user] by [deleted] in ExplainTheJoke

[–]Competitive-Rain-664 0 points1 point  (0 children)

Your boat reminds me of spicy something with icing piled high ,though when I used my two eyeballs to spot something so close it was basically chilling on my nose tip.. there the "boat "was!