Skip to content

Conversation

@BrianSipple
Copy link
Contributor

I made a few polishes for the animation chapter as I went through it.

Outside of my editor deleting a few extra spaces in some places, one change is a terminology fix and the other is a punctuation fix.

Cheers!

When I say continuous function, what I mean is if you pass in smaller changes as input, you get smaller output and if you pass in the same value you get the same result. For example, `sin(1.7)` always returns the same value, and `ofNoise(1.7)` also always returns the same result. Likewise if you call `sin(1.7)` and `sin(1.75)` you get results that are continuous (meaning, you can call `sin(1.71) sin(1.72)... sin(1.74)` to get intermediate results).

You can do the same thing with ofNoise -- here, I write a for loop to draw noise as a line. `ofNoise` takes an input, here i/10 and produces an output which is between 0 and 1. [`ofSignedNoise`](http://openframeworks.cc/documentation/math/ofMath.html#!show_ofSignedNoise "ofSignedNoise Documentation Page") is similar but it produces an output between -1 and 1.
You can do the same thing with ofNoise -- here, I write a for loop to draw noise as a line. `ofNoise` takes an input -- here, i/10 -- and produces an output which is between 0 and 1. [`ofSignedNoise`](http://openframeworks.cc/documentation/math/ofMath.html#!show_ofSignedNoise "ofSignedNoise Documentation Page") is similar but it produces an output between -1 and 1.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reads a little awkwardly to me. What about:

You can do the same thing with ofNoise. Here, I write a for loop to draw noise as a line. ofNoise takes an input (i/10 in this case) and produces an output which is between 0 and 1.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You dashed my em dash dreams, @mikewesthad. But I like that that, too. Just updated and rebased.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clever 👍

@mikewesthad
Copy link
Member

This looks great to me - thanks again @BrianSipple for the edits. There was one edit where I had an additional suggestion. (Pinging the author, @ofZach, to let him know about the PR.)

@mikewesthad
Copy link
Member

mikewesthad commented Oct 17, 2017

This looks good to me, so I'm going to go ahead and merge it in. @ofZach can reopen/revert if needed. Thanks for the PR.

@mikewesthad mikewesthad merged commit c6b79ef into openframeworks:master Oct 17, 2017
@ofZach
Copy link
Contributor

ofZach commented Oct 17, 2017

hey sorry but I'd really like to review changes to my chapter

@mikewesthad
Copy link
Member

@ofZach - no problem, reverted. Sorry! Just trying to make sure we don't accumulate stale issues & PRs when the scope of the changes is small.

@ofZach
Copy link
Contributor

ofZach commented Oct 17, 2017

thanks -- I was traveling and didn't have a chance to look at this...

I wouldn't change for loop to for-loop (which seems wrong to me) but besides that it seems ok to me and they are small changes. thanks for giving me a chance to check this out.

@ofZach
Copy link
Contributor

ofZach commented Oct 17, 2017

also, thanks @BrianSipple for fixes!

@BrianSipple
Copy link
Contributor Author

@mikewesthad It looks like reverting the changes doesn't also reopen the PR. I'll open a new one for @ofZach to get some 👀 on (while also addressing the feedback).

@mikewesthad
Copy link
Member

@BrianSipple - sorry about that! Thanks for opening a new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants