This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures import film_strip | |
| video_root = "/Users/ryan/CleanCode/Projects/Google2025_Paper/UserStudy/video_pairs_20" | |
| videos = path_join( | |
| video_root, | |
| [ | |
| #"Kittycat Fish.mp4ATI_0071--[Seed 2] Kittycat Fish.mp4", | |
| #"[Failure] Stop Sign Lady_copy6.mp4ATI_0097--[Seed 4370] [Failure] Stop Sign Lady_copy6.mp4", | |
| #"Bichon + Corgi _ Bichon Stay Behind_copy3.mp4ATI_0025--[Seed 7945] Bichon + Corgi _ Bichon Stay Behind_copy3.mp4", | |
| #"Bichon + Corgi _ Corgi Stay Behind.mp4ATI_0053--[Seed 9995] Bichon + Corgi _ Corgi Stay Behind.mp4", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures import film_strip | |
| video_root = "/Users/ryan/CleanCode/Projects/Google2025_Paper/UserStudy/video_pairs_20" | |
| videos = path_join( | |
| video_root, | |
| [ | |
| #"Kittycat Fish.mp4ATI_0071--[Seed 2] Kittycat Fish.mp4", | |
| #"[Failure] Stop Sign Lady_copy6.mp4ATI_0097--[Seed 4370] [Failure] Stop Sign Lady_copy6.mp4", | |
| #"Bichon + Corgi _ Bichon Stay Behind_copy3.mp4ATI_0025--[Seed 7945] Bichon + Corgi _ Bichon Stay Behind_copy3.mp4", | |
| #"Bichon + Corgi _ Corgi Stay Behind.mp4ATI_0053--[Seed 9995] Bichon + Corgi _ Corgi Stay Behind.mp4", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures import film_strip | |
| video_root = "/Users/ryan/CleanCode/Projects/Google2025_Paper/UserStudy/video_pairs_20" | |
| videos = path_join( | |
| video_root, | |
| [ | |
| #"Kittycat Fish.mp4ATI_0071--[Seed 2] Kittycat Fish.mp4", | |
| #"[Failure] Stop Sign Lady_copy6.mp4ATI_0097--[Seed 4370] [Failure] Stop Sign Lady_copy6.mp4", | |
| #"Bichon + Corgi _ Bichon Stay Behind_copy3.mp4ATI_0025--[Seed 7945] Bichon + Corgi _ Bichon Stay Behind_copy3.mp4", | |
| #"Bichon + Corgi _ Corgi Stay Behind.mp4ATI_0053--[Seed 9995] Bichon + Corgi _ Corgi Stay Behind.mp4", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures import film_strip | |
| video_paths = [ | |
| "/Users/ryan/CleanCode/Projects/Google2025_Paper/FigureGen/SuccessiveEdit/judge_" | |
| + x | |
| for x in [ | |
| "input.mp4", | |
| "from_right.mp4", | |
| "from_right_and_zoom.mp4", | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures import film_strip | |
| video_paths = [ | |
| "/Users/ryan/CleanCode/Projects/Google2025_Paper/UserStudy2/video_pairs_sorted_nodots/SuccessiveEdit/judge_" | |
| + x | |
| for x in [ | |
| "input.mp4", | |
| "from_right.mp4", | |
| "from_right_and_zoom.mp4", | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! | |
| set -e | |
| DIFFUSION_ROOT='/root/CleanCode/Github/DiffSynth-Studio' | |
| rp exec 'assert get_current_directory()==dir,"Youre in the wrong directory. Please go to "+dir' ---dir $DIFFUSION_ROOT | |
| # Copy Model To This Machine (Super Fast the Second Time) | |
| HUG_DIR=/huggingface_models | |
| mkdir -p $HUG_DIR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| import bmesh | |
| from math import sqrt, radians, cos | |
| # ========= CONFIG ========= | |
| TARGET_EDGE_LEN = None # set e.g. 0.25 to force a size; if None, auto-compute from mesh median area | |
| TOLERANCE = 0.15 # +/- 15% band around target edge length | |
| COPLANAR_MAX_DEG = 0.5 # faces are "coplanar" if angle <= this (degrees) for safe dissolves | |
| MAX_ITERS = 200 # safety cap | |
| # ========================= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures import film_strip | |
| video_root = ( | |
| "/Users/ryan/CleanCode/Projects/Google2025_Paper/RawVidsFromExports/kweeje/" | |
| ) | |
| videos = [ | |
| video_root + x | |
| for x in [ | |
| "JITTER - WithoutNoise2.mp4", | |
| "ABLATION.mp4", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures import film_strip | |
| video_root = ( | |
| "/Users/ryan/CleanCode/Projects/Google2025_Paper/RawVidsFromExports/kweeje/" | |
| ) | |
| videos = [ | |
| video_root + x | |
| for x in [ | |
| "JITTER - WithoutNoise2.mp4", | |
| "ABLATION.mp4", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures import film_strip | |
| video_root = "/Users/ryan/CleanCode/Projects/Google2025_Paper/UserStudy/video_pairs_20" | |
| videos = path_join( | |
| video_root, | |
| [ | |
| "Kittycat Fish.mp4ATI_0071--[Seed 2] Kittycat Fish.mp4", | |
| "[Failure] Stop Sign Lady_copy6.mp4ATI_0097--[Seed 4370] [Failure] Stop Sign Lady_copy6.mp4", | |
| "Bichon + Corgi _ Bichon Stay Behind_copy3.mp4ATI_0025--[Seed 7945] Bichon + Corgi _ Bichon Stay Behind_copy3.mp4", | |
| "Bichon + Corgi _ Corgi Stay Behind.mp4ATI_0053--[Seed 9995] Bichon + Corgi _ Corgi Stay Behind.mp4", |