Skip to content

๐Ÿ‘ Example of getting pixels under mouse pointer on macOS.

Notifications You must be signed in to change notification settings

osnr/pixels-under-mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

pixels-under-mouse

pixels-under-mouse

Need to brew install love.

$ love .

It's all in main.lua. Edit the CGRect to however many pixels you want!

notes

This isn't that interesting on its own. Just is a useful building block for other stuff.

I've pushed hard to keep it in one file and have no hard dependencies (other than Lร–VE, but that's big, widely-used and well-supported, and seems easy enough to install).

It's very cool to have an inline, live view of memory usage (memoryusage.lua here). You can comment and uncomment every fix you try for a memory leak, hot reload it in, and watch the velocity of that memory usage number change. almost want to have that (derivative of memory usage) as another separate metric. maybe draw it as a vector or something

hah

license

MIT

About

๐Ÿ‘ Example of getting pixels under mouse pointer on macOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages