experimental: simplify strands tutorial (flat API, no uniforms, no arrow fns)#1182
Draft
nbogie wants to merge 1 commit intoprocessing:2.0from
Draft
experimental: simplify strands tutorial (flat API, no uniforms, no arrow fns)#1182nbogie wants to merge 1 commit intoprocessing:2.0from
nbogie wants to merge 1 commit intoprocessing:2.0from
Conversation
base().modify() becomes buildXShader() removed all arrow fns except in the placeholder for millis() fix incorrect indenting of code spans js fenced blocks don't need initial indentation removing uniforms as far as possible from already flat-API tut. use noise() instead of defining a rand()
3f43457 to
6fe4553
Compare
Member
|
(Minor note: |
Contributor
Author
|
Ta. (It looks like the build is breaking for unrelated reasons (401)) Update: at build, the site is pre-rendering pages for Nothing to do with this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an experimental PR to allow us to see how the strands tutorial might look if simplified, and what problems we might encounter in trying that.
Status:
* Actually, you'll see two uses of uniform remaining:
a temporary one which serves to provide time (and keep sketches working) until millis() is implemented in strands. (added as a separate commit which can be reverted).
uniformTexture, used to get the original image into the bloom filter. I don't have a solution for how to remove this one and keep the bloom filter.ISSUE: The uniform mechanism being used by
uniformTextureis yet to be explained in this branch.