r/cpp • • Mar 24 '26

Dear ImGui Explorer

Dear ImGui Explorer (which was previously named Dear ImGui Manual) is an online "ImGui::ShowDemoWindow", together with an instant access to all demos source code.

A new version was recently, so I figured it might be worse mentioning here, since this new version also adds support for ImPlot and ImPlot3D demos.

Disclaimer: I am the author of this tool.

76 Upvotes

10 comments sorted by

View all comments

Show parent comment

8

u/pstomi Mar 25 '26

Thanks! Making it fast did require quite some adaptations and optimizations, but I'm happy to see that it was successful.

But the most important optimizations consisted in reducing the initial download:

Here is what the app now downloads at startup: only 2.16MB before it starts

FileTransfer (gzipped)Size
index.wasm1.37 MB3.80 MB
index.data734.90 kB1.27 MB
index.js54.09 kB201.31 kB
Total2.16 MB5.28 MB

(For this I had to trim the assets that are included in the data file).

Then, demo file are downloaded on demand (imgui_demo., implot_demo.)

FileTransfer (gzipped)Size
imgui_demo.cpp616.45 kB615.80 kB
imgui_demo.py80.74 kB399.49 kB
Total697.19 kB1.02 MB