haschdl / haschdl/dear-gen-code

Remove custom "save" functions from Javascript sketch

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Throughout the sketches both @haschdl and @regisfrias make extensive use of the `save()` and/or `saveFrame()` functions.
In HTML5, one can simply right-click on a canvas and choose "Save image".

https://github.com/haschdl/dear-gen-code/blob/0ef3a463a364fdd0f81eeea4716e0532a60aaed2/helsinki/Week-07/sketch/sketch.js#L105-L122

I suggest we remove the "save" operations from sketches, unless it has a aesthetic reason. This would improve legibility of the code and reduce lines of code considerably.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.