How akatz-ai/comfyui-depthflow-nodes works
Project type and purpose
• This is an open-source ComfyUI custom node pack (“Depthflow Node Pack for ComfyUI”) that implements the Depthflow library inside ComfyUI. It extends RyanOnTheInside’s Flex System to provide a set of nodes for generating 2.5D parallax animations from 2D images and depth maps.
File structure
• Top-level:
• example_workflows/ → sample JSON workflows
• src/ → Python source code
– base_flex.py → glue code integrating Flex System
– depthflow.py → core Depthflow node definition
– effects/ → depthflow_effects.py (DOF, vignette)
– motion/ → motion_base, motion_components, motion_presets
• Config & metadata:
• pyproject.toml, requirements.txt → Python package metadata & dependencies
• .github/workflows/publish_action.yml → CI for publishing the node pack
README for additional insights
• Purpose: turn images + depth maps into parallax animation
• Core components documented: Depthflow node, Effects nodes, Motion Presets, Motion Components
• External dependencies: ComfyUI, Flex System, Depthflow library