Skip to workspace
PixelOkay
On-device studio
Tools
VIDEO & PHOTOGRAPHY TOOLS • LENS LAB

Camera Lens Simulator

Compare lenses, move cameras through virtual depth scenes, plan shot sequences, and export visual storyboards. Source-photo cropping stays mathematically honest.

01◎02COMPARE THE FRAME
QUICK START
V3 / VIRTUAL CAMERA & SHOT PLANNER

Choose your creative workflow

Quick Compare keeps your original flat-photo framing. Virtual and Shot Planner use an original depth-bearing procedural scene, not fabricated pixels from your photo.

03 / LIVE FRAMING PREVIEW

Two lenses. One viewpoint.

Exact relative crop for a rectilinear pinhole model. Photo preview can only show pixels recorded in the reference.

A CAMERA A35 mm · Full frame
A · 35 mm
Reference coverage: 100%
B CAMERA B50 mm · APS-C
B · 50 mm
Reference coverage: 100%
CAMERA A / BASELINE

Lens A

35 mm
3 mm300 mm
Advanced: shift crop inside reference
Depth of field · calculated estimate

Quick crop uses subject distance as focus distance; no blur is simulated.

CAMERA B / EXPERIMENT

Lens B

50 mm
3 mm300 mm
Advanced: shift crop inside reference
Depth of field · calculated estimate

Quick crop uses subject distance as focus distance; no blur is simulated.

Different sensors and focal lengths can show different framing.
04 / ANGLE OF VIEW

See the geometry

Horizontal angle · To scale

Each fan represents the horizontal angle of view, not perspective distortion or blur. Both cameras are at the same position. The frame-width calculation uses a pinhole approximation at your selected distance.

Ready. No file leaves your browser.
Mathematically grounded

Field of view uses 2 × atan(gate ÷ (2 × focal length)). Frame width uses distance × gate / focal length.

Know the limitations

Changing focal length does not move the camera. Quick crop uses one stationary photo; Virtual mode adds physically placed procedural subjects and a stylized depth-aware focus option, not calibrated lens distortion.

Private and portable

Everything runs in the browser. Save settings and export a shareable PNG or spreadsheet-friendly CSV without cloud uploads.

How the simulator works

Choose a camera sensor, focal length and output crop for cameras A and B. The previews show the relative region captured from a single stationary viewpoint.

Photo mode: Upload an image and supply the focal length and sensor used to take it. When the target camera has a wider angle of view, a checkerboard marks unrecorded pixels rather than fabricating scenery.

35mm equivalence: Uses nominal sensor diagonal. Exact horizontal framing uses the aspect-cropped sensor gate, so different aspect ratios can affect horizontal field of view.

Distance: Changes estimated width and height of the scene at that distance, not the photo crop or camera perspective. The optional depth-of-field figures use a conventional thin-lens approximation, with circle of confusion based on sensor diagonal (about 0.03 mm for full frame). These are indicative, not actual lens measurements. No focus blur is rendered. Focus breathing, lens distortion, exposure, and vignetting are not simulated.

Depth of field: Expand the calculator in each lens panel and enter f-number (f/1 through f/32). The subject distance doubles as focus distance. Macro and close-focus optical behavior, optical aberrations, pupil magnification and bokeh are outside this model.

Image exports: Export either camera alone or the side-by-side image. Enable the separate export-guides checkbox to include thirds overlays in PNG files.

Save and share: Project JSON and shareable links include camera settings and your project name, not image bytes. Reattach the original image when reopening. Links place settings in the URL fragment.

Orientation: Custom sensor dimensions are rotated to match landscape or vertical output. A real camera can be moved to match framing, but that changes perspective and cannot be reproduced by cropping one photo.

Copy comparison link

Your camera settings and project name are in this link. An uploaded photo is never included.

Using Camera Lens Simulator

Compare rectilinear field of view and crop geometry for two sensor/lens setups, optionally checking a matching reference photo. Review the calculations separately from non-rendered depth-of-field estimates.

  1. Choose two sensor formats and focal lengths, then set the reference and crop assumptions for the comparison.
  2. Review each camera’s field of view and crop geometry; optionally attach a matching photo and use the missing-pixel checker to inspect coverage.
  3. Compare the A/B or combined view, optionally inspect the calculated depth-of-field estimate, then export PNG, SVG, CSV, JSON or a settings link.

Example: Compare a 24 mm lens on an APS-C sensor with a 35 mm lens on full frame from the same viewpoint, then attach a matching reference photo to check the framing estimate.

Limits and privacy: Quick Compare uses static rectilinear field-of-view/crop geometry. Virtual Camera moves through procedural depth scenes, not your uploaded image; its optical geometry is pinhole-based and its focus blur/vignetting is stylized. Depth of field is a non-rendered thin-lens estimate using its documented circle-of-confusion convention. Settings links and JSON include names/settings but omit photos; reattach a matching image before image export.

Frequently asked questions

Will this show perspective changes when I move the camera?

Quick Compare cannot: it crops one source photo at a stationary viewpoint. Virtual Camera Lab does show camera translation and parallax using procedural objects at known depth positions, not photo reconstruction.

Does the depth-of-field estimate render bokeh?

Quick Compare calculates depth-of-field estimates without rendering blur. Virtual Camera Lab optionally adds a stylized depth-aware defocus illustration; it is not a calibrated real-lens bokeh simulation.

Are my reference photos included in a settings link?

No. Settings links and JSON omit the attached photo but can include its name and camera assumptions. Reattach a matching reference before exporting an image.

Virtual Camera V3: Procedural Street and Studio scenes have known object depths and a movable pinhole camera. Dolly movement changes foreground/background perspective; varying focal length at the same position changes framing only. Stylized defocus, vignette, and anamorphic horizontal coverage are conceptual demonstrations, not calibrated optics. Six editable shot-plan starters export a contact sheet and CSV with the saved camera positions. Uploaded photographs remain flat crops and are not reconstructed into 3D.

Related tools