A game running in the notebook? Ha?! 🐺👾

I was playing recently too much of Nier:Automata and decided to recreate a hacking mode in WLJS Notebook & Wolfram Language
Sorry for not posting a source code, I will make a blog post later on it
A game running in the notebook? Ha?! 🐺👾

I was playing recently too much of Nier:Automata and decided to recreate a hacking mode in WLJS Notebook & Wolfram Language
Sorry for not posting a source code, I will make a blog post later on it
It is also possible to combine your custom input element with traditional dynamics. For instance you want to create multiple input fields, which are synchronised with each other or using some equation.
Can you image Graphics to be that fast? 🌊 No raster images was used

Each block is
Translate[{Opacity[life], RGBColor[life, 0, 1-life], Rectangle[{-1,-1}, {1,1}]}, t]
Please see FrontProxy in the documentation for more information.
Learning Fraunhofer diffraction with Wolfram Language and WLJS Notebook

We refined our Graphics3D to support different material parameters

A tandem of RevealJS and Wolfram Language made using Graphics3D and Path-tracing

How to make simple counter animation for slides

You've likely seen videos featuring animated bar charts with a timeline, where the bars dynamically shift and overtake each other

Another raster animation. Now without OpenCL, pure WL and Compile

A GPU is also a great tool for general-purpose computations. There are a few ways to couple it with Wolfram Language:
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 🚅
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.
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.
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
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