Skip to content

Commit 17921a7

Browse files
committed
add docs for src/content/text-detail
1 parent 4678492 commit 17921a7

File tree

6 files changed

+571
-0
lines changed

6 files changed

+571
-0
lines changed

src/content/text-detail/zh-Hans/about.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ p5.js 是一款旨在帮助人们学习编程并进行艺术创作的友好工
1111
p5.js 非常重视无障碍性、包容性、社区共享和传递快乐。它使得编程绘图像在笔记本上涂鸦一样直观。p5.js 支持网络上的视听、交互和实验性作品。它支持多语言,并提供了丰富的文档和视觉示例。你可以立刻在网络编辑器中开始编码,并且许多教程可供参考。你也可以通过社区创建的库来扩展 p5.js 技能。p5.js 始终在寻找贡献者,并且感激各种形式的参与。
1212

1313
p5.js 鼓励通过迭代编码来实现创意表达。我们重视代码开源以及无障碍性。我们的社区为学习、创造、想象、设计、分享和自由编码提供灵感和支持。
14+
15+
在此<a href='https://hello.p5js.org/'>交互式视频</a>(在桌面网络浏览器上效果最佳)中了解如何开始使用动画、音频、WebGL、可访问性以及对 p5.js 的贡献:
16+
17+
18+
<div class='mt-xl'>
19+
<LinkButton variant='link' url='https://hello.p5js.org/'>Hello p5.js!</LinkButton>
20+
</div>
1421
</div>
1522

1623
<hr class='full-bleed'/>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "联系我们"
3+
---
4+
5+
您可以通过 [[email protected]](mailto:[email protected]) 与我们联系。
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "版权和致谢"
3+
---
4+
5+
p5.js 库是自由软件;您可以根据自由软件基金会发布的 [GNU 宽通用公共许可证](https://github.com/processing/p5.js/blob/main/license.txt) 2.1 版的条款重新分发和修改。
6+
7+
本网站使用 [MIT 许可证](https://github.com/processing/p5.js-website/blob/main/LICENSE),但 [参考文档](https://p5js.org/reference/)[示例](https://p5js.org/examples/) 页面除外,这些页面采用 [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/?ref=chooser-v1) 许可。[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/?ref=chooser-v1) 允许您在适当注明出处的情况下将这些内容用于非商业目的。
8+
9+
p5.js 目前由 [Qianqian Ye](https://qianqian-ye.com/) 领导,由 [Lauren Lee McCarthy](https://lauren-mccarthy.com/) 创建。p5.js 库和本网站由 [p5.js 贡献者](https://p5js.org/people/)[Processing 基金会](https://processingfoundation.org) 开发。
10+
11+
我们遵循 [all-contributors](https://github.com/kentcdodds/all-contributors) 规范,认可所有类型的贡献。如果您为 p5.js 做出了贡献但在 p5.js 贡献者列表中没有看到自己,请按照这个[说明](https://github.com/processing/p5.js/issues/2309)将自己添加到 p5.js 仓库的 [README](https://github.com/processing/p5.js/blob/main/README.md#contributors) 中。
12+
13+
本网站由 [Stefanie Tam](https://stefanietam.com)[Tyler Yin](https://www.tyleryin.com/) 设计,最初由 [Bocoup](https://bocoup.com) 开发。标识由 [Jerel Johnson](https://jereljohnson.com) 设计。
14+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: "下载"
3+
---
4+
import LinkButton from '../../../components/LinkButton/index.astro'
5+
import CodeContainerWithCopy from "../../../components/CodeContainer/CodeContainerWithCopy.astro";
6+
import {
7+
cdnLibraryUrl,
8+
fullDownloadUrl,
9+
libraryDownloadUrl,
10+
minifiedLibraryDownloadUrl
11+
} from '@src/globals/globals'
12+
13+
欢迎!本页面包含了开始使用 p5.js 的各种方式的链接。您可以在网络浏览器中打开 p5.js 编辑器,或者将库下载到您的计算机上。我们按照从初学者到进阶开发者的需求顺序来组织这些链接。
14+
15+
### 在线开始编程
16+
此链接将带您前往在线 p5.js 编辑器,您可以立即开始使用 p5.js。
17+
18+
<LinkButton variant='link' url='https://editor.p5js.org/'> p5.js 编辑器 </LinkButton>
19+
20+
### 下载完整库
21+
这个下载包含了 p5.js 库文件、p5.sound 插件和一个示例项目。不包含编辑器。访问[入门指南](/tutorials/get-started)了解如何设置 p5.js 项目。
22+
23+
<LinkButton variant='download' url={fullDownloadUrl}> 完整库 </LinkButton>
24+
25+
### 下载单个文件
26+
这些是 p5.js 库文件的下载链接。不包含其他内容。
27+
28+
<div class="flex gap-sm md:gap-lg justify-between lg:justify-normal">
29+
<LinkButton variant='download' url={libraryDownloadUrl}> p5.js </LinkButton>
30+
<LinkButton variant='download' url={minifiedLibraryDownloadUrl}> p5.min.js </LinkButton>
31+
</div>
32+
33+
### 使用 CDN 版本的 p5.js
34+
p5.js 是一个客户端 JS 平台,它使艺术家、设计师、学生和任何人都能学习编程并在网络上进行表达自己的创意。它基于 Processing 的核心原则。
35+
36+
<CodeContainerWithCopy>{cdnLibraryUrl}</CodeContainerWithCopy>
37+
38+
### 旧版本
39+
想找旧版本?
40+
前往 GitHub 查看 p5.js 的[早期版本](https://github.com/processing/p5.js/releases)

0 commit comments

Comments
 (0)