Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.7k
[p5.strands] Significant refactor for p5.strands#8009
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
75 commits Select commitHold shift + click to select a range
23ff7e6 syntax/ remove unneccessary
lukeplowden1511ffb blocking out new modular strands structure
lukeplowden604c2dd chipping away at DOD approach.
lukeplowden8950817 nested ifs
lukeplowdenf6369e7 if/else semi working
lukeplowdena355416 change if/elseif/else api to be chainable and functional (return assi…
lukeplowden3e1e149 binary ops and contructors prototyped
lukeplowdenf718717 simplify type system
lukeplowden24f0c46 SSA
lukeplowden0851285 Return type checking for hooks with native types reimplemented (i.e. …
lukeplowden9b84f6f declarations moved to backend, hook arguments fixed
lukeplowden8509231 rename file
lukeplowden47eda1a update api imports for new filename
lukeplowden1088b4d move extractTypeInfo and rename to extractNodeTypeInfo
lukeplowden87e8a99 rename files for clarity
lukeplowdene32fd47 builtin function overloads type checking
lukeplowden11a1610 function calls partially reimplemented. Still needs more error checking.
lukeplowdene8f03d6 update function calls to conform parameters when raw numbers are handed
lukeplowden1ddd9a2 adding struct types
lukeplowdenf3155e6 adding struct types
lukeplowdenbabedfd Merge branch 'strands-refactor' of github.com:lukeplowden/p5.js into …
lukeplowdenafff707 struct types working
lukeplowden2e70e0e comment old line. Should revisit structs if needs optimisation.
lukeplowden6d5913a fix wrong ID in binary op node
lukeplowden2745bda fix bug with binary op, and make strandsNode return node if arg is al…
lukeplowden4133fae fix function call bugs
lukeplowdenb3ce3ec remove dag sort, use basic block instructions instead. Also start wor…
lukeplowden9ebf77e syntax/ remove unneccessary
lukeplowdenfaae3aa blocking out new modular strands structure
lukeplowdenf6783d2 chipping away at DOD approach.
lukeplowden06faa2c nested ifs
lukeplowden5d32089 if/else semi working
lukeplowden95fa410 change if/elseif/else api to be chainable and functional (return assi…
lukeplowden627b7a3 binary ops and contructors prototyped
lukeplowden7899f0d simplify type system
lukeplowdenb731c15 SSA
lukeplowden7166f35 Return type checking for hooks with native types reimplemented (i.e. …
lukeplowdene4e54ac declarations moved to backend, hook arguments fixed
lukeplowden51e8ddd rename file
lukeplowden79c2f8d update api imports for new filename
lukeplowden18dc1d3 move extractTypeInfo and rename to extractNodeTypeInfo
lukeplowdeneb5f1bf rename files for clarity
lukeplowden446d3ec builtin function overloads type checking
lukeplowden83b4cf4 function calls partially reimplemented. Still needs more error checking.
lukeplowdena743c68 update function calls to conform parameters when raw numbers are handed
lukeplowden295c140 adding struct types
lukeplowden7cd3d42 adding struct types
lukeplowdenf7b1339 struct types working
lukeplowdenba4be8b comment old line. Should revisit structs if needs optimisation.
lukeplowden4fe4aaf fix wrong ID in binary op node
lukeplowden0908e43 fix bug with binary op, and make strandsNode return node if arg is al…
lukeplowden5ce9451 fix function call bugs
lukeplowden54851ba remove dag sort, use basic block instructions instead. Also start wor…
lukeplowden2b681b8 Merge branch 'strands-refactor' of github.com:lukeplowden/p5.js into …
lukeplowdenebaaa08 change example
lukeplowden3d11637 Update src/strands/ir_builders.js
lukeplowden347900f remove CFG sorting, make merge block use default behaviour, change ty…
lukeplowden1ddd5f8 remove old file and imports
lukeplowden085d1b8 Merge branch 'strands-refactor' of github.com:lukeplowden/p5.js into …
lukeplowdenf806006 bug fixes, swizzle reads working, swizzle writes WIP
lukeplowdend2c17af fix textures, struct bugs, and add swizzle assign.
lukeplowdend5c7fe8 remove old shadergenerator file
lukeplowden100304f remove dev console.log
lukeplowden2b863e6 add instance mode changes, fix bug where struct properties returned i…
lukeplowden6462345 mark atan as p5 function, prevent bug where using atan outside strand…
lukeplowden37abf7f add back documentation
lukeplowdenf3afffc add todo for internal parser options
lukeplowdend4d968a Merge branch 'dev-2.0' into strands-refactor
davepagurekbf92d1c Fix issue with strands being immediately active
davepagureka269bd7 Add back alias for previous uniformVector2 syntax
davepagurek18eb43c add comments for clarity on swizzling and onrebind
lukeplowdenbae0545 Merge branch 'strands-refactor' of github.com:lukeplowden/p5.js into …
lukeplowdene81920f Parse hookTypes into a strands codegen type
davepagurekf43770c Merge branch 'dev-2.0' into strands-refactor
davepagurekecc8061 Merge atan test file into trigonometry tests and get it working
davepagurekFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
declarations moved to backend, hook arguments fixed
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit9b84f6feafd01a6e21aa0aff966fa2d34a40331b
There are no files selected for viewing
11 changes: 6 additions & 5 deletionspreview/global/sketch.js
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
59 changes: 47 additions & 12 deletionssrc/strands/GLSL_backend.js
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
12 changes: 1 addition & 11 deletionssrc/strands/builder.js
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
25 changes: 11 additions & 14 deletionssrc/strands/code_generation.js
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
9 changes: 8 additions & 1 deletionsrc/strands/directed_acyclic_graph.js
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
9 changes: 5 additions & 4 deletionssrc/strands/p5.strands.js
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
7 changes: 4 additions & 3 deletionssrc/strands/user_API.js
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
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.