Azure function HTTP trigger for Mandelbrot calculation
This example demonstrates a serverless Azure Function that calculates Mandelbrot set coordinates in parallel by partitioning the rendering job into discrete units. The HTTP-triggered PowerShell script (`AzzureFunctionHTTP.ps1`) accepts a JSON payload via `$req`, parses it with `ConvertFrom-Json`, and splits the requested resolution into 1000 sub-jobs, each assigned a unique step interval along the x-axis. Each sub-job is packaged with its folder, request parameters, and computed step value, then serialized with `ConvertTo-Json` and written to an output queue (`$outputQueueItem`). The code relies on the Azure Functions runtime and standard PowerShell cmdlets (`Out-File`, `[guid]::newguid()`) for blob folder naming and output handling, without external visualization libraries.
AI-generated description