ZhangZhihui's Blog  

2026年5月14日

摘要: (zdvb-venv) PS D:\zprojects\manim> manim -pqh -i scene.py ExampleRotationManim Community v0.20.1 [05/14/26 11:02:41] WARNING --save_as_gif is deprecat 阅读全文
posted @ 2026-05-14 11:05 ZhangZhihuiAAA 阅读(0) 评论(0) 推荐(0)
 
摘要: Manim 提供了一系列预设的质量快捷键,方便你在开发调试和最终发布之间切换: 参数 对应全称 分辨率 (Pixel) 帧率 (FPS) 适用场景 -ql Low 854 x 480 15 快速预览。渲染速度最快。 -qm Medium 1280 x 720 30 兼顾速度与清晰度,适合日常检查。 阅读全文
posted @ 2026-05-14 10:40 ZhangZhihuiAAA 阅读(1) 评论(0) 推荐(0)
 
摘要: class ShowScreenResolution(Scene): def construct(self): pixel_height = config["pixel_height"] # 1080 is default pixel_width = config["pixel_width"] # 阅读全文
posted @ 2026-05-14 10:38 ZhangZhihuiAAA 阅读(2) 评论(0) 推荐(0)
 
摘要: class ExampleRotation(Scene): def construct(self): self.camera.background_color = WHITE m1a = Square().set_color(RED).shift(LEFT) m1b = Circle().set_c 阅读全文
posted @ 2026-05-14 09:26 ZhangZhihuiAAA 阅读(2) 评论(0) 推荐(0)

2026年5月13日

摘要: https://docs.manim.community/en/stable/tutorials/quickstart.html class DifferentRotations(Scene): def construct(self): left_square = Square(color=BLUE 阅读全文
posted @ 2026-05-13 22:16 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)

2026年5月12日

摘要: 国家统计局新版数据接口使用文档 基础地址: https://data.stats.gov.cn/dg/website/publicrelease/web/external鉴权: 无需鉴权,公开访问版本: V2.0 (2026.03.27更新)特点: 采用 UUID 标识符,支持时间分片,元数据与数据 阅读全文
posted @ 2026-05-12 19:11 ZhangZhihuiAAA 阅读(14) 评论(0) 推荐(0)

2026年5月11日

摘要: Git 默认会将非 ASCII 字符(比如中文)视为不可打印字符,并对其进行转义处理,显示为类似 "\344\275\240\345\245\275" 的八进制代码。 要解决这个问题,只需要在终端执行一行配置命令,关闭转义即可: ✅ 核心解决方案 在你的命令行(CMD、PowerShell 或 WS 阅读全文
posted @ 2026-05-11 21:03 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)

2026年3月26日

摘要: 查看.vscode/settings.json,删除python interprater相关行,然后重新选择Python env中python作为解释器。 每次必须先选择一下这个虚拟环境作为Python interpreter,然后打开新的Terminal才能自动激活Python虚拟环境。怎么实现T 阅读全文
posted @ 2026-03-26 20:02 ZhangZhihuiAAA 阅读(75) 评论(0) 推荐(0)

2026年3月25日

摘要: PS D:\zprojects> & d:\zprojects\zdab-venv\Scripts\Activate.ps1 & : 无法加载文件 D:\zprojects\zdab-venv\Scripts\Activate.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/ 阅读全文
posted @ 2026-03-25 14:19 ZhangZhihuiAAA 阅读(18) 评论(0) 推荐(0)

2026年3月24日

摘要: 在 Windows 环境下开发带有 CGO 依赖(如 DuckDB)的 Go 项目,在 settings.json 中配置环境变量可以让你免去每次在 PowerShell 手动输入 $env:CGO_ENABLED="1" 的麻烦。 你可以通过以下步骤进行配置: 1. 打开 settings.jso 阅读全文
posted @ 2026-03-24 17:28 ZhangZhihuiAAA 阅读(26) 评论(0) 推荐(0)