
algorithm - Fast 2D signed distance - Stack Overflow
Jun 29, 2021 · For closed, non-intersecting and well oriented polygons, you can speed up the calculation of a signed distance field by limiting the work to feature extrusions based on this …
GitHub - fogleman/sdf: Simple SDF mesh generation in Python
An SDF is simply a function that takes a numpy array of points with shape (N, 3) for 3D SDFs or shape (N, 2) for 2D SDFs and returns the signed distance for each of those points as an array …
Measuring distances between objects — Bio-image Analysis Notebooks
This notebook demonstrates how to measure distance of objects in one image to the closest object in another image. A use-case for this is measuring the distance of objects such as cells …
Jupyter Notebook workflow - NVIDIA Docs - NVIDIA …
Mar 18, 2025 · This tutorial builds a simple example in a jupyter notebook. This workflow is useful for interactive developement and rapid prototyping.
Signed distance functions in 46 lines of Python
Dec 18, 2022 · A walkthrough of 46 lines of code that render a 3D ASCII donut using signed distance functions.
Constructing Complex Shapes with Signed Distance Functions: …
Apr 7, 2024 · In this notebook, we’ll implement a signed distance function for a heart shape using Python and visualize it using matplotlib. The following functions are defined: line_sdf: …
Signed distance fields - Almost looks like work
Oct 3, 2019 · Signed distance fields (SDFs) This is a fancy name for something very simple. An SDF is just a function which takes a position as an input, and outputs the distance from that …
sdfcad - PyPI
Jan 27, 2024 · Generate 3D meshes based on SDFs (signed distance functions) with a dirt simple Python API. Special thanks to Michael Fogleman for initializing this codebase in …
python - Signed distances between sets of points - Stack Overflow
Apr 10, 2014 · I would like to obtain the distribution (median and std) of sum(y-x) distances between the points in Y and X. E.g. if one y point is (2,4) and one x point is (3,5) the sum(y-x) …
Differentiable Signed Distance Function Rendering - GitHub
This repository contains the Python code to reproduce some of the experiments of the Siggraph 2022 paper "Differentiable Signed Distance Function Rendering". Please see the project page …