Skip to content

Conversation

@xian
Copy link
Member

@xian xian commented Sep 4, 2024

Fixes #611.

xian and others added 30 commits August 16, 2023 07:10
Revert "Merge pull request #526 from baaahs/kotlin-1.8"

This reverts commit 3251bcf, reversing
changes made to 7c82d15.
Reverts part of 426a4a6.
- Create new TextureBuffer instead of calling `TextureBuffer.put` every sample
  - otherwise this mutating the `position` field in Javascript (see kgl.Buffer.put)
- Populate 4 frequency buckets of different periods representing low, lomid, mid, hi signals
- Change interpolation to GL_NEAREST (might not be what we want, but then it gives precise values)
- Change history to power of 2, as webgl prefers power-of-two-sized textures
- Tested with pinkyJvm using blackhole as well to make sure this doesn't totally break jvm version

The data in the simulator looks choppy/laggy, I think that's because this is all running in a delay loop, bottlenecked by the single-threaded js on the page.
Remove commented ode.
Add new BAAAHS shader, mockup BeatInfo utilities for shadertoy
New distortion shader: Moiré's Bad Trip
xian and others added 25 commits July 27, 2024 09:58
Add screen dimming and fullscreen mode
The existing implementation just used an outparam, which was passing unitialized memory if not every field was explicitly set. We also update the template to demonstrate using the in param.

PAIR: xian + tarqin
* Seems like Feed.getType() might be supercilious given Feed.contentType?
xian added 2 commits September 5, 2024 13:58
Switch to gradle's JVM toolchain stuff
Ideally it would come up as a normal-looking Mac application, but lwjgl and Swing aren't compatible because they both want full control of the main thread's event loop. So unfortunately it starts the app with a taskbar icon but no menu bar or windows.

* Bumped shadow jar plugin to 8.3.0.
* Removed -Djava.awt.headless=true java arg and JOGL deps, not needed.

See also:
* What does the -XstartOnFirstThread VM Argument do / mean?
* jpackage-gradle-plugin for the official java packaging wrapper
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.

Build a Sparkle Motion Mac app

6 participants