This code creates a magnifying glass effect over an image in Wolfram Language. As the mouse moves over the image, a zoomed-in circular region follows the cursor, simulating a magnifying lens.
12 posts tagged with "graphics"
View All TagsPoint charges plot
Attempts to make sort of a fast OOP structures
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.
Path-tracing example
We refined our Graphics3D
to support different material parameters
RevealJS x WL logo code
A tandem of RevealJS and Wolfram Language made using Graphics3D
and Path-tracing
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
🚅
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.
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.
Dynamic color and opacity implementation
This is going to be our first dev-log post here 🦄
Simples example of the Planar Inverse Kinematics
Image and Raster were implemented!
MatrixPlot[
Fourier[Table[
UnitStep[i, 4 - i] UnitStep[j, 7 - j], {i, -25, 25}, {j, -25,
25}]]]
It means, MatrixPlot
as well as Rasterize
can work properly finally
Realtime path-tracing
There is nothing more exciting in programming than designing a graphics application. Thankfully, there is one person on Github Garrett Johnson, who implemented a path-tracing algorithm on top of the well-known THREE.js graphics engine. Moreover, it fully supports features from the original library and can be anytime flipped as a main renderer.