Python practice in GPU Graphics
Browse the rooms before signing in. All rooms are free with an account. Practice does not issue certificates.
CPU Vectorized Scale
Scale pixel samples before a brightness comparison.
patterns. Free with an account.
Reduce Sum
Sum supplied per-invocation work durations.
patterns. Free with an account.
Thread Index Map
Calculate the index that a one-dimensional CUDA launch would assign.
parallel-model. Free with an account.
Vec3 Dot Product
A diffuse-lighting calculation needs a scalar dot product between two three-component vectors..
transforms. Free with an account.
Barycentric Weights
Use signed triangle areas to express a point as a weighted combination of a nondegenerate triangle.
rasterization. Free with an account.
Prefix Scan
An exclusive scan gives the starting offset for each variable-sized group.
patterns. Free with an account.
Tile Load
Model a tile copied into a CPU scratch buffer.
memory. Free with an account.
Vec4 Transform
Apply a homogeneous transform to a four-component vertex using column-vector multiplication..
transforms. Free with an account.
Separable Gaussian Blur
Blur a nonempty image with two one-dimensional passes on the CPU.
shaders. Free with an account.
N-Body Step from Rest
Compute one semi-implicit Euler step from zero initial velocity.
particles. Free with an account.
Ray-Sphere Intersection
Find the first strictly positive intersection of a ray with a sphere.
raytracing. Free with an account.
Tiled Matrix Multiply
Accumulate a matrix product from CPU array tiles.
linear-algebra. Free with an account.
BVH Leaf AABB
Compute a separate axis-aligned bounding box for each triangle.
raytracing. Free with an account.
CPU Tiled Transpose
Copy each CPU tile into local storage and transpose it into the output.
memory. Free with an account.
Clamped Histogram
Count samples into equally spaced bins using CPU NumPy.
patterns. Free with an account.
Perspective Projection Pipeline
Assemble model transformation, projection, perspective divide and viewport mapping.
transforms, rasterization. Free with an account.
Assemble a CPU Rasterization Pipeline
Software renderer engineer reconstructing the pipeline before the client call.
transforms, rasterization, shaders, renderer. Free with an account.
Barnes-Hut Cell Helpers
Compute a nonempty positive-mass cell summary and the size/distance opening decision.
particles. Free with an account.
Seeded Sphere Bounce Study
Assemble nearest-hit selection, albedo multiplication and seeded direction changes in a CPU toy ray walk.
raytracing, shaders. Free with an account.
CPU Tiled Cross-Correlation
Stage a CPU image tile plus its halo in a copied local NumPy buffer, then compute several outputs from that tile.
memory, shaders. Free with an account.