Basically bindings to WebGL (likewise for WebGPU) and any other WebAPI usually accessible from JavaScript are absent from WebAssembly and are provided by Emscripten's curated mix of C and C++ headers ...
Graphics programming in C used to drawing various geometrical shapes (rectangle, circle eclipse etc.), use of mathematical function in drawing curves, coloring an object with different colors and ...