SkillAgentSearch skills...

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/Shenanigans

README

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

🚀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 -j12 in ./libs/tracy/profiler/build/unix/
  • run the app with ENABLE_PROFILING defined
  • run script/perf/tracy.sh or ./libs/tracy/profiler/build/unix/Tracy-release and click connect
  • save the trace file if needed <img src="data/readme/tracy.png" width="100%">

Related Skills

View on GitHub
GitHub Stars24
CategoryDevelopment
Updated8d ago
Forks5

Languages

C++

Security Score

95/100

Audited on Mar 18, 2026

No findings