# specs_camera camera 2d and 3d component for specs ```rust let mut world = World::new(); let mut dispatcher = Bundler::new(&mut world, DispatcherBuilder::new()) .bundle(TransformBundle::::default()).unwrap() // CameraBundle adds TransformSystem to CameraSystem deps .bundle(CameraBundle::::default()).unwrap() .build(); world.create_entity() .with(Transform2D::::default()) .with(Camera2D::::default().with_size(1024, 768)) .build(); dispatcher.dispatch(&mut world.res); ```