GithubHelp home page GithubHelp logo

sandialabs / deterministicmps Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 87 KB

Maximal Poisson-disk Sampling in 2D, without approximations or rejections, in deterministic linear time

License: Other

CMake 0.09% C++ 99.91%
scr-2749

deterministicmps's Introduction

DeterministicMPS

Maximal Poisson-disk Sampling in 2D, without approximations or rejections, in deterministic linear time, using chocks. A chock is a curved region bounded by a disk, a tangent, and a ray. Our formula for inverse transform sampling over chocks is numerically closed.

The software is deemed to be Publicly Available. Copyright 2022 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. SCR#:2749.0

The main purpose of this software is to reproduce the results, data and figures, in the following publication:

"Deterministic Linear Time for Maximal Poisson-Disk Sampling using Chocks without Rejection or Approximation" by Scott A. Mitchell. Accepted to Eurographics Symposium on Geometry Processing, SGP, 2022.

Compiling

A CMakeLists.txt file is provided.
The software has been compiled using Xcode on Mac OS X, and cmake and gcc on Linux. The code uses c++11 extensions. The code is self-contained and there are no library dependencies. See the "main" method in the main.cpp file, which generates the figures (or data for the figures) from the paper. There are other top-level methods, by default commented out, for unit testing and generating distributions over rectangles of different sizes and periodicity.

deterministicmps's People

Contributors

samitch avatar

Stargazers

Bodhinanda Chandra avatar  avatar Marco Livesu avatar Markus Worchel avatar Kirill Klimov avatar Tzu-Mao Li avatar

Watchers

 avatar  avatar

Forkers

peterzs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.