Toying With This Week (Mar 7 - Mar 13)
Added 2021-03-07 19:51:41 +0000 UTCCompleted This Past Week
- Lots of bug fixes to various toys
- Oriori ball support - This was a quick easy win and I love how well it works as a toy controller.
- Scripts can set pattern controls - Finally scripts can adjust the control sliders for patterns. I still need to go back and make it possible to use variables for slider controls.
- Script If statements - You can now mark an action to only run if an extra condition is true. It's not perfect but it should make some things easier like input validation.
- QR Codes for sessions - I've been using the online functionality myself a bit this past week for local play and noted that it was annoying to type in the code into a second phone that was right beside the other one. So I put in a QR code generator and scanner to make it easy to copy codes to each phone.
For This Week
- Session bug fixes - The performance changes I made to how components load is causing some major timing issues during online sessions so I'll hopefully get a chance to dig in to that this week.
- Coyote support - So there's a few good things on this front.
DG Lab is making their bluetooth protocol info public this month so I'll actually be able to follow the true implementation. And going through the info folks have gathered on STPIHKAL I hadn't realized that the way to use the protocol is literally just sending the new pattern every 0.1s. So it should actually be possible to leverage existing XToys patterns as is without making a custom Pattern specifically for the Coyote. Thank goodness.
The couple issues are that XToys scripted patterns don't technically currently set estim frequency. They do in the sense that you can make a sine wave and set the frequency...but the underlying frequency that gets added to the pattern is hardcoded. I'll likely leave the Coyote the same and tackle how best to let patterns set a frequency sometime later. And I'm facing some bluetooth command slowdown issues that appear to be related to the web bluetooth plugin I'm using so I may need to rewrite the web version to be more efficient and test all the toys again. I really hope the slowdown isn't on the Capacitor side (that allows for easy cross-platform commands) or else fixing the issue is going to get very messy. - Other stuff not finished from past weeks. In particular for Kiiroo I need to update the intensity slider to allow for setting both the min and max on the same slider. I'm not sure yet if that will behave intuitively or not.