Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stc committed Nov 21, 2018
1 parent 144886d commit 85a52cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Day-21-Dimension-Reduction/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### Day 21 - Dimension Reduction

Inspiration: [ml4a](https://github.com/ml4a) related code by Gene Kogan et al
### Install
`npm install --save`

Expand Down
2 changes: 1 addition & 1 deletion Day-21-Dimension-Reduction/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const sketch = (p5) => {

let zp = 0;
p5.draw = () => {
p5.camera(0, 0, 800, 0, 0, 0, 0, 1, 0);
p5.camera(p5.sin(p5.frameCount/300) * 100, p5.cos(p5.frameCount/300) * 100, 800, 0, 0, 0, 0, 1, 0);
p5.background(240);
p5.frameRate(60);

Expand Down

0 comments on commit 85a52cc

Please sign in to comment.