Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EsportToys
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
EsportToys
7mo ago
You may also be interested in my little modification of middle-scroll behaviour: https://github.com/esporttoys/librescroll
2.
▲
by
EsportToys
1y ago
I wrote https://github.com/EsportToys/TPMouse a while back with the “grid mode” that moves the mouse cursor by bisecting the screen coordinate incrementally.
3.
▲
by
EsportToys
1y ago
Nice, it's also a great test for my https://github.com/EsportToys/LibreScroll
4.
▲
by
EsportToys
1y ago
You can trivially calculate the time-to-peak overshoot using the closed form equation. It’s the first (0-indexed) zero of the velocity response, i.e. happens at t = (pi / scale) And obviously it would only apply for the underdamped cas
5.
▲
by
EsportToys
1y ago
A middleground is to use fixed timesteps with the closed form solution. Then the integration factors can be statically precomputed as constants, and every frame becomes just a 2x2 matrix multiplication. And even if you are to calculate the
6.
▲
by
EsportToys
1y ago
It’s the general solution to a damped harmonic oscillator/mass-spring-damper system: m * x’’ + c * x’ + k * x = f(t) See https://web.archive.org/web/20230604215211/https://esporttoy...
7.
▲
by
EsportToys
1y ago
Closed-form (non-iterative) PID solution: https://www.desmos.com/calculator/mu80ttc9aa function sprung_response(t,pos,vel,k,c,m) local decay = c/2/m local omega = math.sqrt(k/m) lo
8.
▲
The Mystery of Spinors [video]
(youtube.com)
2 points
by
EsportToys
3y ago
|
0 comments
9.
▲
by
EsportToys
3y ago
Seconded for Love2D, here's a sample of how simple it is to quickly whip up something in it: https://github.com/EsportToys/wireworld-love
10.
▲
by
EsportToys
3y ago
Speaking of 2nd-order linear ODEs w/ const factor (a.k.a. mass-spring-damper systems), I wrote a blog post[0] deriving all possible general solutions in a concise matrix that makes it easily implementable in code. The following is the
11.
▲
by
EsportToys
3y ago
Actuall you're missing ClipCursor as another way of moving the cursor. Also, mouse_event is just a wrapper around what's basically SendInput(mouse)
12.
▲
by
EsportToys
3y ago
The friction/acceleration awkwardness can be solved by using a physically based timestep-independent formulation, which I implemented in TPMouse[0] and explained its derivation in a previous comment reply[1]. The gist of it is that the
13.
▲
by
EsportToys
3y ago
And for Windows, my https://github.com/EsportToys/TPMouse was inspired by warpd itself but more focused on making direct cursor motion more usable using momentum.
14.
▲
by
EsportToys
3y ago
Shameless plug, but you may like the Inertia Mode of my TPMouse script[0] if you need a keyboard-based workflow systemwide. [0] https://github.com/EsportToys/TPMouse
15.
▲
by
EsportToys
3y ago
A little known secret on Windows is that you can still get LGS via winget: winget install Logitech.LGS
16.
▲
by
EsportToys
3y ago
Try running the exe version with wine and see if it works on your system -- this uses only very old/stable WinAPIs so I'd imagine that wine would have it well-covered by now.
17.
▲
by
EsportToys
3y ago
> There are two novels that can change a bookish fourteen-year old's life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emo
18.
▲
by
EsportToys
3y ago
I use the G305 which is even more barebones in the buttons, however I remapped the dpi button to be a sort of "omnifunctional activator" that I combine Lua scripting from LGS with other Autoit scripting for accessing WinAPI to ach
19.
▲
by
EsportToys
3y ago
Glad that you like it! You might also find my MouseTray utility useful (which I mentioned in another comment), since seeing from your bio that you're familiar with esports you might care a bit more about configurations.
20.
▲
by
EsportToys
3y ago
I'm actually in the process of reworking it so that the keybinds can be fully remapped via a GUI. In fact, LibreScroll is my first step experimenting with multi-process delegation that will enable that functionality, since the current
21.
▲
by
EsportToys
3y ago
Thank you! Another applet I made that I personally think is neat, although I see why it's not something many would care about, is the MouseTray[0] utility that gives me a quick "volume popup" but for mouse cursor speeds, it m
22.
▲
by
EsportToys
3y ago
Thanks! It was actually inspired by rvaiya's warpd [0] which has a similar grid mode but with quadrants instead. I thought that needing to choose out of four quadrants at once is a bit overwhelming on cognitive load for something that
23.
▲
by
EsportToys
3y ago
I'm curious about what you think of Hold mode vs Flick mode? I personally use Flick mode myself but thought that it might confuse the user on first-impression, so I have it default to Hold mode to be on the safe side.
24.
▲
by
EsportToys
3y ago
Thank you for the kind words! I’ve never used Linux before, I wonder if it will work well with Wine since this script only uses very old WinAPIs, namely SendInput+RawInput+ClipCursor, and native win32 controls/tray, I would imagine tha
25.
▲
by
EsportToys
3y ago
So what you’re saying is, TCP is better than UDP?
26.
▲
Show HN: LibreScroll – enable flywheel-scrolling on any generic mouse
(github.com)
43 points
by
EsportToys
3y ago
|
20 comments
27.
▲
by
EsportToys
3y ago
I highly recommend anything in Finite Element Methods, it gives you an immediate grounding to a concrete application. I personally really benefitted a lot in the following YouTube lecture series: https://www.math.colostate.edu&#x
28.
▲
by
EsportToys
3y ago
I think the most common application is describing mesh connectivity in Finite Element Methods, where each entry in the matrix represents the influence each node has on each other. Basically any N^2 table can be constructed to describe the g
29.
▲
by
EsportToys
3y ago
Fun fact: this is only valid for domains that have a notion of "selfness", i.e. that there is such thing as an "identity matrix" for the quantities. Consider the following square matrix: TSLA APPL GOOG MSFT
30.
▲
by
EsportToys
3y ago
looks like Manim.
More ›