Skip to main content
Skip table of contents

ShapeDiver Image Sampler

The ShapeDiver Image Sampler component works similarly to the standard grasshopper Image Sampler, except the local input file is replaced by a Grasshopper Bitmap.

Example definition: Extract the color of a pixel
Download the definition from the example here.

The component takes as inputs a Grasshopper Bitmap objects, a 2D coordinate point and a 2D domain. If the domain is left unspecified, it defaults to [1, pixel width] x [1, pixel height]. It can be changed to any other 2D domain, typically [0,1]x[0,1] for unitized pixel coordinates. The Coordinates (C) input needs to be given according the specified Domain (D) input. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.