-
-
Notifications
You must be signed in to change notification settings - Fork 21
docs: ColorPicker example controls #1214
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
Merged
Merged
Conversation
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
pkg.pr.new packages
benchmark commit |
reczkok
approved these changes
May 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition! Much better ux than vector sliders
39b915e
to
13a1f15
Compare
aleksanderkatan
pushed a commit
that referenced
this pull request
May 13, 2025
iwoplaza
added a commit
that referenced
this pull request
May 13, 2025
* Raster cube with lighting Added dependencies, cube model, textures, directional and point lighting * Moved cube code into separate file * Comprehensive logic separation * Added gravitational force * Rewrote shader to apply gravitational force * Central gravity * Code reformatting and drag * Moved necessary celestial bodies to gpu data holders * Accessing celestialBodies in shader * Compute shader modifications, celestialBodiesGroup changes * Moved all calculations into compute shader * Compute shader is now fully integrated * Introduced matrix translation * Introduced std identity * Added tests for std.identity * Tests updates * Compute shader fixes * Working compute shader implementation * Compute shader works for multiple objects * Working multiple celestial bodies * Background colour to black * Introduced newton gravity equation * Sphere vertices * 4th cube spawns * Merge with origin/main * Revert "Merge with origin/main" This reverts commit 5e10b86. * Refactor 1 * Refactor 2 - remove cube.ts * Refactor 3 - rename files * Refactor 4 - schemas.ts * Refactor 5 - move matrix functions to another file * Add buffer for other compute inputs * Rewrite compute shader * Move compute buffers to DynamicResources * Add initial parameters loading from presets.ts * Add preset switching * Add depth stencil * Fix compute bodies count * Add lighting from 3D fish * Add sphere model * Add celestial body radius * Merge fixes * Update camera to newer version * Make velocity and radius optional in presets.ts * Add resizeObserver, make canvas fit to container * Add skyboxes * Move textures to gravity folder in assets * Add custom celestial body texture support * Change algorithm to leapfrog, fix transformation matrix issues * Replace compute method with more accurate one * Update celestial body bouncing * Finish `Planet rings` preset * Update `CelestialBody` schema * Move enums to a dedicated folder * Remove radius and transformation matrix from CelestialBody * Split compute pipeline into two pipelines * Implement merge collisions * Remove celestialBodiesLayout from render * Split compute layouts for different pipelines * Add simulation speed slider * Replace sphere model with an icosphere * Refactor render bing groups * Add attribution, dispose od old data * Add mobile controls * Remove matrix changes * Remove test presets * Add Solar System preset * Add default camera positions to the presets * Remove extra skyboxes, make Solar System the default preset * Update lighting system * Update preset light sources * Remove babel dependency (why was it here to begin with?) * Make simulation frame independent * Merge load-models and textures into helpers.ts * Nits * Remove dev comment * Make naming schema consistent * Change `collisionBehaviors` from array to object * Refactor collision logic * Change skyBox to a static resource * Inline device * Add `initialPreset` variable * Simplify arrow syntax where possible * Remove cull mode * Git LFS * Treating .obj files as large files * I don't know what changed * Change mouseup event to be on window * Add cullMode to render pipeline * Update CI * Reload github actions * Apply deno formatting * Remove `.does` from examples * Try remove manual `git lfs pull` * Apply suggestions from code review Co-authored-by: Iwo Plaza <[email protected]> * feat: Use accessor for OKLab alpha (#1228) * feat: Use accessor for OKLab alpha * Review fixes * docs: unplugin-typegpu guide (#1191) * docs: ColorPicker example controls (#1214) * docs: Persist ControlPanel toggles state in local storage (#1222) * fix: Small formatting fix in ColorPicker * impr: Throw error when trying to define tgpu.derived during resolution (#1223) * feat: Allow for...of statement to work with vectors and matrices (#1226) * Undo formatting on index * Update skybox vertexFn in examples * Simplified skybox shader * Simplified skybox in the reflection example --------- Co-authored-by: lursz <[email protected]> Co-authored-by: Aleksander Katan <[email protected]> Co-authored-by: Iwo Plaza <[email protected]> Co-authored-by: Marcin Hawryluk <[email protected]>
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.
closes #1210