Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.8.0 #10

Open
wants to merge 64 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
50a9065
feat!: remove deprecated function aliases `granulateSimple` and `gran…
meezwhite Jul 14, 2024
f5c28a9
feat(applyMonochromaticGrain): add support for p5.Image
meezwhite Jul 14, 2024
97731ca
feat(applyChromaticGrain): add support for p5.Image
meezwhite Jul 14, 2024
e4b58d6
feat(tinkerPixels): add support for p5.Image
meezwhite Jul 14, 2024
fd28404
feat(loopPixels): add support for p5.Image
meezwhite Jul 14, 2024
c5c8caa
chore(version)
meezwhite Jul 14, 2024
24ae39f
docs(CONTRIBUTING.md): update history
meezwhite Jul 14, 2024
1a8e2ed
docs(README.md)
meezwhite Jul 14, 2024
832c31d
docs(CONTRIBUTING.md)
meezwhite Aug 8, 2024
a91127b
chore(package.json): update library description
meezwhite Aug 8, 2024
a105388
chore(package.json): update keywords
meezwhite Aug 8, 2024
51aed8d
chore(package-lock.json)
meezwhite Aug 8, 2024
e83f7ef
fix(setup): use p5.prototype.random as the default internal random fu…
meezwhite Aug 8, 2024
932e40d
style: formatting
meezwhite Aug 8, 2024
8626e3d
docs: improve readability of function descriptions
meezwhite Aug 8, 2024
534a9e4
feat(randomMode): add possibility to specify if random generates floa…
meezwhite Aug 8, 2024
61e935c
perf(applyMonochromaticGrain): reduce checks
meezwhite Aug 8, 2024
cf909b0
perf(applyChromaticGrain): reduce checks
meezwhite Aug 8, 2024
5af6f83
fix(applyMonochromaticGrain): remove rounding of amount param, consid…
meezwhite Aug 8, 2024
8aa59ef
fix(applyChromaticGrain): remove rounding of amount param, considerin…
meezwhite Aug 8, 2024
aff39cc
feat(randomMode): add error handling for randomMode
meezwhite Aug 8, 2024
2ab85ce
refactor(error): improve error messaging, slightly decrease file size
meezwhite Aug 8, 2024
6207c59
feat(warn): add private helper function for logging warnings
meezwhite Aug 8, 2024
6552011
perf(textureAnimate): less checks, use Math
meezwhite Aug 8, 2024
d8c9a67
perf(textureOverlay): less checks, use Math
meezwhite Aug 8, 2024
329aaed
docs(README): update and improve the README
meezwhite Aug 8, 2024
b6ea375
chore(dist): build min bundle
meezwhite Aug 8, 2024
396f28a
examples: update lib
meezwhite Aug 8, 2024
58832e1
example(instance-mode): simplify tinkerPixels example
meezwhite Aug 8, 2024
b7e45c3
example(pixel-manipulation): simplify tinkerPixels example
meezwhite Aug 8, 2024
4ac8869
docs(README)
meezwhite Aug 8, 2024
f433455
docs(README)
meezwhite Aug 8, 2024
9ad03ce
docs(README)
meezwhite Aug 8, 2024
b6375ab
docs(README)
meezwhite Aug 8, 2024
55b64ec
docs(randomMode): improve docs on randomMode
meezwhite Aug 8, 2024
cbe82b7
docs
meezwhite Aug 8, 2024
bab1f8f
docs(README)
meezwhite Aug 8, 2024
0614e86
docs(README)
meezwhite Aug 8, 2024
e12ddd9
docs(README)
meezwhite Aug 8, 2024
b425b4f
chore(examples): update p5.js to v1.10.0
meezwhite Aug 8, 2024
cdb68f4
fix(setup): init internal random function even if config param is und…
meezwhite Aug 8, 2024
dba5ebf
chore(dist): build min bundle
meezwhite Aug 8, 2024
0de42ca
examples: update lib
meezwhite Aug 8, 2024
6e6a36a
examples(instance-mode): update labels
meezwhite Aug 8, 2024
2670421
perf(random): improve performance on random
meezwhite Aug 8, 2024
37c3648
chore(dist): build min bundle
meezwhite Aug 8, 2024
d78f50f
examples: update lib
meezwhite Aug 8, 2024
927b354
style: formatting
meezwhite Aug 8, 2024
b9f93f9
feat: gitignore test dir
meezwhite Aug 8, 2024
7b719f1
chore(dist): build min bundle
meezwhite Aug 8, 2024
01907a2
examples: update lib
meezwhite Aug 8, 2024
3f00422
chore: update history and roadmap
meezwhite Aug 9, 2024
071a822
fix(setup): correctly setup internal random function for instanceMode
meezwhite Aug 9, 2024
d24d1ea
refactor(textureAnimate): replace data object with individual variabl…
meezwhite Aug 21, 2024
b164f36
refactor(textureOverlay): replace data object with individual variabl…
meezwhite Aug 21, 2024
1e32bac
style(textureAnimate): formatting
meezwhite Aug 21, 2024
a88d6b2
refactor(textureOverlay)
meezwhite Aug 26, 2024
cca4e84
refactor(textureAnimate)
meezwhite Aug 26, 2024
a630db6
refactor(textureOverlay)
meezwhite Aug 26, 2024
1c7983f
refactor(textureOverlay)
meezwhite Aug 26, 2024
7496c16
feat(updatePixels): add private method for updating the pixels for cu…
meezwhite Aug 26, 2024
3d115e8
refactor(tinkerPixels): use updatePixels
meezwhite Aug 26, 2024
f6832e0
feat(prepareRandomBounds): return bounds as array instead of object
meezwhite Aug 26, 2024
4f998c5
refactor(instance): make the instance class field private
meezwhite Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
node_modules/
node_modules/
test/
15 changes: 9 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Although p5.grain can already be used for p5.js sketches in production, it's sti
* [Coding Guidelines](#coding-guidelines)
* [Commit Message Guidelines](#commit-message-guidelines)
* [Licensing](#licensing)
* [Roadmap](#roadmap)
* [History & Roadmap](#history_and_roadmap)

## Code of Conduct

Expand Down Expand Up @@ -86,8 +86,8 @@ Guidelines:
```
6. **Testing and examples**
* If it makes sense (e.g. you added a new technique), create a standalone example inside the `/examples` directory.
* If your technique supports cross-browser animation, enable it by default.
* Use the existing examples as orientation for your example.<br>*NOTE: Examples only showcase the simplest implementation of a technique.*
* If your technique supports cross-browser animation, disable it by default. Take an example from [texture-overlay-inside](http://localhost:8888/xyz/p5.grain/examples/texture-overlay-inside) on how animation should be enabled in the example.
* Use the existing examples as orientation for your example.*NOTE: Examples only showcase the simplest implementation of a technique.*
* Test all examples to see if they still work as expected in all major desktop and mobile browsers (especially Safari).
* If you cannot test your changes in some browsers or platforms, mention this in the respective issue or discussion so that somebody else can check this.
* If necessary, update existing examples to reflect your changes.
Expand Down Expand Up @@ -222,16 +222,19 @@ By making a contribution to this project, I certify that:
this project or the open source license(s) involved.
```

## Roadmap
<a id="history_and_roadmap"></a>

## History & Roadmap

* [x] Add possibility for custom `granulate` functions (`v0.4.0`)
* [x] Add possibility to apply grain and textures to offscreen graphics (`v0.5.0`)
* [x] Add possibility to by-pass updating pixels when using `tinkerPixels` (`v0.6.0`)
* [x] Add alias `loopPixels` for read-only mode (`v0.7.0`)
* [x] Add support for instance mode (`v0.7.0`)
* [ ] Improve pixel manipulation technique performance
* [ ] Implement JavaScript module syntax
* [x] Add support for `p5.Image` (`v0.8.0`)
* [x] Improve pixel manipulation technique performance (`v0.8.0`)
* [ ] Add possibility to use shaders
* [ ] Implement JavaScript module syntax
* [ ] Add possibility to build only specified functions to the minified version
* [ ] Add npm scripts for Windows
* [ ] Add npm scripts for Linux
430 changes: 306 additions & 124 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/p5.grain.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading