Fallback to Mathematica's Rendering
Using MMAView, you can bypass the WLJS pipeline and directly render an expression as it would appear in Wolfram Mathematica.
(1/2 + a)2 // MMAView
Note: The output will be displayed as a raster image, which adds system overhead and results in limited interactivity and non-scalable rendering.
However, MMAView defines special UpValues
for 3D graphics, as well as for Manipulate and Animate, making it partially interactive.
With[{p = Plot3D[f[x] y, {x, 0, 10}, {y, 0, 10}]},
MMAView[p]
]
Manipulate
MMAView can be used as a special wrapper for Manipulate
Manipulate[Plot3D[Sin[n x] Cos[n y], {x,-1,1}, {y,-1,1}], {n, 1, 5, 1}] // MMAView
Animate
MMAView is also defined for Animate
Animate[Plot[Sin[x y], {x,0,1}], {y,0,5}] // MMAView