How to make simple counter animation for slides
Animated bar charts
You've likely seen videos featuring animated bar charts with a timeline, where the bars dynamically shift and overtake each other
Trippy raster animation
Another raster animation. Now without OpenCL, pure WL and Compile
Basics of Compute Shaders in WL 1
A GPU is also a great tool for general-purpose computations. There are a few ways to couple it with Wolfram Language:
- CUDALink
- OpenCLLink
- LibraryLink
The first option requires hardware from Nvidia, which is a massive drawback considering there are many other processors on the market capable of crunching numbers. The last option allows integrating any dynamic library written in C/Rust (probably there are other bindings as well) into our Kernel, but the amount of effort required to write a general-purpose GPU library and deal with cross-platform issues is quite cumbersome and defeats the whole purpose of using WL here.
We will go with the most cross-platform and hardware-agnostic solution: OpenCL
馃殔
Covariant Matrices and Ellipses
By simply computing the covariance matrix and finding its eigenvectors and -values, you can determine the principal axes and the corresponding lengths of the ellipse.
Real-time Fluid Simulation Part 3
Using Wolfram Language and WLJS
In this notebook we will apply some optimizations to the code, expand the resolution and switch to immediate mode of graphics rendering.
Real-time Fluid Simulation Part 2
Using Wolfram Language and WLJS libraries
In this notebook, we will continue to explore a simple technique for simulating 2D incompressible fluids for visual effects. This work is mostly based on Jos Stam. Stable Fluids SIGGRAPH 1999 as well as a tutorial by Karl Sims
Real-time Fluid Simulation Part 1
Using Wolfram Language and WLJS libraries
In this notebook, we will explore a simple technique for simulating 2D incompressible fluids for visual effects. This work is mostly based on Jos Stam. Stable Fluids SIGGRAPH 1999 as well as a tutorial by Karl Sims
1D FDTD Method
Solving Maxwell's equation for 1D case with two interfaces. Based on the work of John B. Schneider "Understanding the Finite-Difference Time-Domain Method" 2023 we will try to solve 1D Maxwell's equation for electro-magnetic wave propagating through a non-dispersive plate
Mesh region with Rick Astley
A example of creating and using boundary mesh for solving equations on them.
Realtime Finite Elements Method
Here we will solve simple 2D wave-equation and visualize it in realtime using polygons
"Atom" animation
Here is a short code snippet for atom (artistic-vision) animation
THz Time-domain modelling
Using a single Lorentz-Oscillator model we model the responce of a materials with a variable thickneses
Triangulation and basics of dynamic polygons
It is quite tricky to make an efficient function for plotting dynamic 3D surfaces, which change with time using a high-level code such as Wolfram Language.
Converting JSON crystal data to Graphics using AI Assistant
Working in condensed matter physics, I (JerryI) often need to represent crystal structures based on their CIF, JSON, or other formats. Sometimes, it is quite tricky to parse these data files since you also need to determine the given symmetry operation when constructing a unit cell. Here, we will do it using AI Copilot 馃