Qurak

Use simulated lighting for the background density

Esempio 2 passi, eseguiti in ordine in una sola sessione. Ogni passo è stato eseguito sul motore e l'output qui sotto è ciò che ha prodotto.

Passo 1
rot[x_, y_] = Curl[{Cos[x + y ^ 3], Sin[y + x ^ 3]}, {x, y}];

Nessun output - questo passo prepara qualcosa per il successivo.

Passo 2
StreamDensityPlot[{{Cos[x + y ^ 3], Sin[y + x ^ 3]}, Log[Abs[rot[x, y]] + 1]}, {x, -2, 2}, {y, -2, 2}, StreamPoints -> Fine, ColorFunction -> "RedBlueTones", MaxRecursion -> 4, LightingAngle -> Automatic, StreamStyle -> Black, StreamColorFunction -> None]
Output
-Graphics-

Funzioni usate

Ricette correlate

Tutte le ricette · Guida delle funzioni · Usa questo da un client MCP