New in Wolfram
Mathematica
8: CUDA and OpenCL Support
◄
previous
|
next
►
Software Development
Do on-the-Fly Code Generation
CUDA and OpenCL code can be generated and loaded into
Mathematica
on the fly.
In[1]:=
X
frameParams = {{8.0, 1.0, 1.0}, {0.5, -0.5, 0.5, 0.2}, {15.0, 10.0, 5.0}}; OpenCLFractalRender3D[Method -> "Quaternion", "Type" -> "Julia", "SingleFrame" -> True, "SingleFrameParameters" -> frameParams, "Multisampling" -> 16, "MaxIterations" -> 128, ImageSize -> 512]
Out[1]=
Users can animate the set.
Play Animation
»
Stop Animation
»