Skip to content

marius-ne/fibpy

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

License

fibpy - Uniform sphere sampling - Fibonacci spirals in Python.

This is the updated and maintained version of the original repository created by @matt77hias. All credit goes to them for the original creation.

You can find the now archived original version here.

About

Fibonacci spiral sampling (Quasi-Monte Carlo techniques) utilities.

Examples

Sampling in unit circle (with jagged boundary)

Default perturbation - Random perturbation

Sampling in unit circle (with smooth boundary)

Default perturbation - Random perturbation

Sampling on unit hemisphere

Default perturbation - Random perturbation

Sampling on unit sphere

Default perturbation - Random perturbation

Cosine weighted sampling on unit hemisphere

Default perturbation - Random perturbation

How to use

First install the requirements via a virtual environment. Then, for visualizing, simply run:

(.venv)$ python src/test.py 

Bibliography

ROBERTS M.: Evenly distributing points on a sphere, 2018.

About

๐Ÿš Fibonacci spiral sampling utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%