Skip to content

Commit 0490ba6

Browse files
authored
the function doesn't need to be continuous (#1601)
(its rectangular domain is ‘continuous’ though—or more precisely in the general case we have no guarantee that we're querying integer coordinates)
1 parent 294baba commit 0490ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/marks/raster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function mandelbrot(x, y) {
3030
To produce contours instead of a heatmap, see the [contour mark](./contour.md).
3131
:::
3232

33-
The **raster mark** renders a [raster image](https://en.wikipedia.org/wiki/Raster_graphics)—that is, an image formed by discrete pixels in a grid, not a vector graphic like other marks. And whereas the [image mark](./image.md) shows an *existing* image, the raster mark *creates* one from abstract data, either by [interpolating spatial samples](#spatial-interpolators) (arbitrary points in **x** and **y**) or by sampling a continuous function *f*(*x*,*y*) along the grid.
33+
The **raster mark** renders a [raster image](https://en.wikipedia.org/wiki/Raster_graphics)—that is, an image formed by discrete pixels in a grid, not a vector graphic like other marks. And whereas the [image mark](./image.md) shows an *existing* image, the raster mark *creates* one from abstract data, either by [interpolating spatial samples](#spatial-interpolators) (arbitrary points in **x** and **y**) or by sampling a function *f*(*x*,*y*) along the grid.
3434

3535
For example, the heatmap below shows the topography of the [Maungawhau volcano](https://en.wikipedia.org/wiki/Maungawhau), produced from a {{volcano.width}}×{{volcano.height}} grid of elevation samples.
3636

0 commit comments

Comments
 (0)