Skip to content

Commit 39f1192

Browse files
committed
Add doc explaining the manual thumbnail process
1 parent c3dfd13 commit 39f1192

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/community_sketches.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Community Sketches
2+
3+
Community sketches [from our curation](https://openprocessing.org/curation/87649) are fetched dynamically from OpenProcessing's API. The thumbnails generated from OpenProcessing are 400x400, but we display a few featured sketches at a larger size on the homepage and community page, so we also manually provide thumbnails at a larger resolution.
4+
5+
## Adding a new sketch
6+
7+
1. Add it to the curation on OpenProcessing
8+
2. Take a screenshot of the sketch at a resolution of 1500x1000 as a `.png`
9+
3. Add it to `src/content/content/sketches/images`, naming it after the ID of the sketch (the numeric part of the OpenProcessing URL.)
10+
11+
For example, the sketch https://openprocessing.org/sketch/2211029 would be saved as `2211029.png` in the folder.

0 commit comments

Comments
 (0)