2727
2828## 基本信息
2929
30- 最新版本:` v1.0.8.post1 `
30+ 最新版本:` v1.0.9 `
3131
3232Python版本要求:` >=3.9 `
3333
34- Python依赖库:` manim>=0.17.0 `
34+ Python依赖库:` manim>=0.17.0 ` , ` rich>=13.0.0 `
3535
3636第三方软件依赖:[ <img src =" https://github.com/ZhuChongjing/CodeVideoRenderer/blob/main/README_files/FFmpeg.png " width =" 80 " align =" center " alt =" FFmpeg " />] ( https://ffmpeg.org// ) [ <img src =" https://github.com/ZhuChongjing/CodeVideoRenderer/blob/main/README_files/MikTex.png " width =" 30 " align =" center " alt =" MikTex " />] ( https://miktex.org/download )
3737
@@ -52,9 +52,6 @@ video = CameraFollowCursorCV(code_string="print('Hello World!')", language='pyth
5252video.render()
5353```
5454
55- > [ !NOTE]
56- >
57- > ` CodeVideo ` 在版本` v1.0.7.post2 ` 中更名为` CameraFollowCursorCV `
5855
5956## 代码视频对象
6057
@@ -66,13 +63,16 @@ class CameraFollowCursorCV(
6663 language : str = None ,
6764 line_spacing : float = DEFAULT_LINE_SPACING ,
6865 interval_range : tuple[float , float ] = (DEFAULT_TYPE_INTERVAL , DEFAULT_TYPE_INTERVAL ),
69- camera_floating_max_value : float = 0.1 ,
70- camera_move_interval : float = 0.1 ,
71- camera_move_duration : float = 0.5 ,
7266 camera_scale : float = 0.5
7367)
7468```
7569
70+ > [!NOTE ]
71+ >
72+ > 在`v1 .0.7.post2 `版本中更名为`CameraFollowCursorCV `,原名`CodeVideo `
73+ >
74+ > 参数`camera_floating_max_value `、`camera_move_interval `、`camera_move_duration `在`v1 .0.9`版本中被删除
75+
7676### 基本参数
7777
7878| 参数名 | 类型 | 默认值 | 说明 |
@@ -103,9 +103,6 @@ class CameraFollowCursorCV(
103103
104104| 参数名 | 类型 | 默认值 | 说明 |
105105|--------|------|--------|------|
106- | `camera_floating_max_value ` | `float ` | `0.1` | 相机浮动效果的最大偏移值,控制相机轻微晃动的幅度 |
107- | `camera_move_interval ` | `float ` | `0.1` | 相机自动移动的时间间隔,单位为秒 |
108- | `camera_move_duration ` | `float ` | `0.5` | 相机移动到新位置的持续时间,单位为秒,影响移动的平滑度 |
109106| `camera_scale ` | `float ` | `0.5` | 相机缩放比例,控制代码在画面中的显示大小 |
110107
111108> [!WARNING ]
0 commit comments