Shenanigans
Semi-random funky stuff, mainly for my PhD experiments and articles. Contains calculations and algorithm implementations for various applied mathematics and astrophysics articles I worked on.
Install / Use
/learn @zdenyhraz/ShenanigansREADME
Zdeny's shenanigans 🪐
<p align="center"> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/build-windows.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/build-windows.yml/badge.svg"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/build-linux.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/build-linux.yml/badge.svg"/></a> <br> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/test-windows.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/test-windows.yml/badge.svg"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/test-linux.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/test-linux.yml/badge.svg"/></a> <br> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/sanitizer-address.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/sanitizer-address.yml/badge.svg"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/sanitizer-thread.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/sanitizer-thread.yml/badge.svg"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/sanitizer-undefined.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/sanitizer-undefined.yml/badge.svg"/></a> <br> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/cppcheck.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/cppcheck.yml/badge.svg"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/clang-tidy.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/clang-tidy.yml/badge.svg"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/cpplint.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/cpplint.yml/badge.svg"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/flawfinder.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/flawfinder.yml/badge.svg"/></a> <br> <a href="https://app.codacy.com/gh/zdenyhraz/shenanigans/dashboard"><img src="https://app.codacy.com/project/badge/Grade/ea68f108539b4e4eb13b0e92a905ef50"/></a> <a href="https://www.codefactor.io/repository/github/zdenyhraz/shenanigans/overview/master"><img src="https://www.codefactor.io/repository/github/zdenyhraz/shenanigans/badge/master"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/pylint.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/pylint.yml/badge.svg"/></a> <a href="https://github.com/zdenyhraz/shenanigans/actions/workflows/ruff.yml"><img src="https://github.com/zdenyhraz/shenanigans/actions/workflows/ruff.yml/badge.svg"/></a> <a href="https://codecov.io/gh/zdenyhraz/shenanigans"><img src="https://codecov.io/gh/zdenyhraz/shenanigans/graph/badge.svg?token=2CD71S18CG"/></a> </p>Semi-random funky stuff, mainly for my PhD experiments and articles. Contains calculations and algorithm implementations for various applied mathematics and astrophysics articles I worked on - Solar Dynamics Observatory image processing, sub-pixel image registration, non-convex optimization. Written in C++20, with C++ ImGui GUI and ImPlot / pybind11+matplotlib plots. Uses OpenCV, OpenMP, OpenGL, cuda, matplotlib, torch, astropy, spdlog, flamegraph, fmt, googletest, json, optick, pybind11, QCustomPlot, tracy, glad, GLFW, ImGui, and others. Examples below.
<p align="left"> <a href="https://github.com/zdenyhraz/shenanigans/commits/master"><img src="https://img.shields.io/github/last-commit/zdenyhraz/shenanigans"></a> <a href="https://github.com/zdenyhraz/shenanigans/commits/master"><img src="https://img.shields.io/github/commit-activity/m/zdenyhraz/shenanigans"></a> <a href="https://github.com/zdenyhraz/shenanigans/issues"><img src="https://img.shields.io/github/issues/zdenyhraz/shenanigans"></a> <a href="https://github.com/zdenyhraz/shenanigans/issues"><img src="https://img.shields.io/github/issues-closed/zdenyhraz/shenanigans"></a> <a href="https://github.com/zdenyhraz/shenanigans/search?l=c%2B%2B"><img src="https://img.shields.io/github/languages/top/zdenyhraz/shenanigans"></a> <a href="https://github.com/zdenyhraz/shenanigans/blob/master/LICENSE.md"><img src="https://img.shields.io/github/license/zdenyhraz/shenanigans.svg"></a> </p>📃Article links
- 📌 Iterative Phase Correlation Algorithm for High-precision Subpixel Image Registration
- 🪐 Measuring Solar Differential Rotation with an Iterative Phase Correlation Method
🚀The ImGui+ImPlot GUI
<img src="data/readme/gui.png" width="100%">🔎Subpixel shift / rotation / scale image registration of dissimilar images via Iterative Phase Correlation
<img src="data/readme/align.png" width="100%">☀️Solar photosphere differential rotation measurements from SDO/HMI continuum images
<img src="data/readme/diffrot.png" width="100%">📉Visualization of optimizer progress on a given objective function landscape
<img src="data/readme/rosenbrock_paths.png" width="100%">📈Visualization of meta-optimizer progress and optimization improvement on a given meta-objective function landscape
<img src="data/readme/metaopt_paths.png" width="100%">📊Adaptive histogram equalization
<img src="data/readme/aheq.PNG" width="100%">⌚Profiling with Tracy
- install the required libraries
sudo apt -y install libglfw3-dev libgtk-3-dev libcapstone-dev libtbb-dev - build the profiler via
make release -j12in./libs/tracy/profiler/build/unix/ - run the app with
ENABLE_PROFILINGdefined - run
script/perf/tracy.shor./libs/tracy/profiler/build/unix/Tracy-releaseand click connect - save the trace file if needed <img src="data/readme/tracy.png" width="100%">
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
