Skip to content

Add camera man video effect with quick button toggle#249

Closed
Copilot wants to merge 3 commits intomainfrom
copilot/add-camera-movement-effect
Closed

Add camera man video effect with quick button toggle#249
Copilot wants to merge 3 commits intomainfrom
copilot/add-camera-movement-effect

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 21, 2026

  • Create CameraManEffect.swift video effect that simulates camera operator movement
  • Add cameraMan case to SettingsQuickButtonType enum
  • Add cameraMan case to SettingsControllerFunction enum (with toString() and section())
  • Add cameraManEffect property to Model class
  • Initialize effect in createGlobalVideoEffects in ModelScene.swift
  • Register effect in registerGlobalVideoEffects in ModelScene.swift
  • Add quick button definition in Settings.swift
  • Add action handler in QuickButtonsView.swift
  • Add switch case rendering in QuickButtonsView.swift
  • Add game controller case in ModelGameController.swift
  • Run code review and security checks

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Feb 21, 2026
Implements a new "Camera Man" video effect that simulates camera operator
movement by smoothly panning and zooming using sinusoidal motion. The effect
crops a rectangle (80-95% of input size, same aspect ratio) and scales it
back up. Toggle via a new quick button on the control bar.

Co-authored-by: eerimoq <176810+eerimoq@users.noreply.github.com>
Copilot AI changed the title [WIP] Add new video effect to simulate camera movement and zoom Add camera man video effect with quick button toggle Feb 21, 2026
Copilot AI requested a review from eerimoq February 21, 2026 15:42
@eerimoq
Copy link
Copy Markdown
Owner

eerimoq commented Feb 21, 2026

@copilot

I get this compile error: "Type 'SettingsControllerFunction' has no member 'cameraMan'"

Fixes compile error: the game controller function enum was missing
the cameraMan case that ModelGameController.swift references.

Co-authored-by: eerimoq <176810+eerimoq@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 21, 2026

@copilot

I get this compile error: "Type 'SettingsControllerFunction' has no member 'cameraMan'"

Fixed in 155e863 — the cameraMan case was missing from the SettingsControllerFunction enum in SettingsGameController.swift. Added it along with the required toString() and section() implementations.

@eerimoq eerimoq closed this Feb 21, 2026
@eerimoq eerimoq deleted the copilot/add-camera-movement-effect branch February 23, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants