Skip to content

huangxin-design/blender-beginner / skills/huanghuayu-tutorial-video

huanghuayu-tutorial-video

Verified

制作黄花鱼频道的复古科技风教程视频与封面,复用 CRT 电视视觉、中文字体、配音、稳定转场和荧光半调封面。将当前案例的真实作品、对话经验与工程讲解组织成一条 3:4 教程。适用于“复用黄花鱼教程模板”“按上次风格做教程/封面”;不用于单独建模或普通成片渲染。

FileKindSize
SKILL.mdskill md7.2 KB
agents/openai.yamlconfig437 B
assets/approved-reference.pngbinary556.2 KB
assets/cover/approved-cover.pngbinary1.9 MB
assets/cover/crt_blank.pngbinary1.9 MB
assets/cover/crt_blank_prompt.txtmarkdown1.7 KB
assets/cover/footer_halftone.pngbinary39.0 KB
assets/cover/footer_halftone.svgother170.8 KB
assets/cover/main_glass_mask.pngbinary8.3 KB
assets/cover/main_glass_mask.svgother366 B
assets/cover/screen.jsonconfig166 B
assets/cover_example/artwork_example.jsonconfig661 B
assets/cover_example/background_example.jsonconfig605 B
assets/cover_example/flower_artwork_example.pngbinary180.2 KB
assets/cover_example/flower_poster_example.pngbinary2.1 MB
assets/cover_example/two_line_example.jsonconfig651 B
assets/example_project/card_example.jsonconfig1.3 KB
assets/example_project/lesson.jsonconfig4.3 KB
assets/example_project/media/crystals.pngbinary7.5 KB
assets/example_project/media/flow.pngbinary29.7 KB
assets/example_project/media/flower.pngbinary180.2 KB
assets/example_project/media/flower_motion.mp4binary41.5 KB
assets/example_project/media/frost.pngbinary12.9 KB
assets/example_project/media/silence.wavbinary93.8 KB
assets/example_project/media/veins.pngbinary20.4 KB
assets/example_project/preview.pngbinary123.9 KB
assets/example_project/render_verification.jsonconfig710 B
assets/graphics/tv_caption_blank_v1.pngbinary1.5 MB
assets/graphics/tv_caption_blank_v1_prompt.txtmarkdown1.6 KB
package-manifest.jsonconfig6.3 KB
references/cover.mdmarkdown7.9 KB
references/visual-style.mdmarkdown2.8 KB
references/voice.mdmarkdown4.5 KB
references/workflow.mdmarkdown5.0 KB
requirements.txtmanifest29 B
scripts/image_backdrop.pyscript1.7 KB
scripts/render_cover.pyscript19.1 KB
scripts/render_tutorial.pyscript23.0 KB
scripts/synthesize_voice.pyscript8.8 KB

scripts/image_backdrop.py

View on GitHub
"""Keep a sharp fitted image over a soft backdrop made from the same image."""
from PIL import Image, ImageDraw, ImageEnhance, ImageFilter, ImageOps


def fit_with_backdrop(source, size):
    source = source.convert('RGB')
    foreground = ImageOps.contain(source, size, Image.Resampling.LANCZOS)
    if foreground.size == size:
        return foreground
    background = ImageOps.fit(source, size, Image.Resampling.LANCZOS)
    background = background.filter(ImageFilter.GaussianBlur(min(size) * .085))
    # Align the palette with the fitted foreground, extending its end colors into padding.
    fw, fh = foreground.size
    column = source.resize((1, fh), Image.Resampling.BOX)
    color_wash = Image.new('RGB', (1, size[1]))
    offset_y = (size[1]-fh)//2
    if offset_y:
        color_wash.paste(column.getpixel((0, 0)), (0, 0, 1, offset_y))
    color_wash.paste(column, (0, offset_y))
    if offset_y+fh < size[1]:
        color_wash.paste(column.getpixel((0, fh-1)), (0, offset_y+fh, 1, size[1]))
    color_wash = color_wash.resize(size)
    color_wash = color_wash.filter(ImageFilter.GaussianBlur(min(size) * .05))
    background = Image.blend(background, color_wash, .92 if offset_y else .72)
    background = ImageEnhance.Color(background).enhance(.98)
    mask = Image.new('L', foreground.size, 0)
    feather = max(4, round(min(size) * .018))
    inset_x = feather if fw < size[0] else 0
    inset_y = feather if fh < size[1] else 0
    ImageDraw.Draw(mask).rectangle((inset_x, inset_y, fw-inset_x, fh-inset_y), fill=255)
    mask = mask.filter(ImageFilter.GaussianBlur(feather*.7))
    background.paste(foreground, ((size[0]-fw)//2, (size[1]-fh)//2), mask)
    return background
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall