All Projects → ajnirp → stochastic_sierpinski

ajnirp / stochastic_sierpinski

Licence: other
A stochastic method to generate an approximation to the Sierpinski triangle

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to stochastic sierpinski

faur
⚒️✨ My personal C games framework. 2D graphics, sound, inputs, states, ECS, and misc utils for data, files, math, memory, strings, time, and more. Builds for Linux, Windows, Web, and embedded devices.
Stars: ✭ 55 (+34.15%)
Mutual labels:  2d-graphics
SwiftUI-Fractals
The Sierpinski carpet, triangle, and a fractal tree using SwiftUI
Stars: ✭ 22 (-46.34%)
Mutual labels:  sierpinski-triangle
fb2d
2D graphics for Linux Frame Buffer
Stars: ✭ 20 (-51.22%)
Mutual labels:  2d-graphics
FastExpm.jl
Implementation of a fast exponential matrix for large matrices (full and sparse)
Stars: ✭ 22 (-46.34%)
Mutual labels:  mathematics
biginteger
A PHP library to work with big integers.
Stars: ✭ 19 (-53.66%)
Mutual labels:  mathematics
canvas
Draw on an HTML 2D canvas in a web browser from a server program using WebSockets.
Stars: ✭ 71 (+73.17%)
Mutual labels:  2d-graphics
JSage
Something like Sage, but for the WebAssembly and JavaScript world.
Stars: ✭ 23 (-43.9%)
Mutual labels:  mathematics
Algorithms
Free hands-on course with the implementation (in Python) and description of several computational, mathematical and statistical algorithms.
Stars: ✭ 117 (+185.37%)
Mutual labels:  mathematics
lib12
lib12 is a library of universal helpers and extensions useful in any .NET project
Stars: ✭ 30 (-26.83%)
Mutual labels:  mathematics
math-stats
A small library that does the statistics for your numbers.
Stars: ✭ 18 (-56.1%)
Mutual labels:  mathematics
swm-core
Pure Math in Pure Swift.
Stars: ✭ 190 (+363.41%)
Mutual labels:  mathematics
Swift-MathEagle
A general math framework to make using math easy. Currently supports function solving and optimisation, matrix and vector algebra, complex numbers, big int, big frac, big rational, graphs and general handy extensions and functions.
Stars: ✭ 41 (+0%)
Mutual labels:  mathematics
Black-Scholes-Option-Pricing-Model
Black Scholes Option Pricing calculator with Greeks and implied volatility computations. Geometric Brownian Motion simulator with payoff value diagram and volatility smile plots. Java GUI.
Stars: ✭ 25 (-39.02%)
Mutual labels:  mathematics
autodiff
A .NET library that provides fast, accurate and automatic differentiation (computes derivative / gradient) of mathematical functions.
Stars: ✭ 69 (+68.29%)
Mutual labels:  mathematics
Pumpkin-Engine
A powerful and capable 2d game engine in Kotlin
Stars: ✭ 1 (-97.56%)
Mutual labels:  2d-graphics
ml-journey
A curated collection of free learning resources on topics related to Machine Learning.
Stars: ✭ 18 (-56.1%)
Mutual labels:  mathematics
kubed
No description or website provided.
Stars: ✭ 68 (+65.85%)
Mutual labels:  2d-graphics
math-app-ml
Essential mathematics for applied machine learning and data science
Stars: ✭ 43 (+4.88%)
Mutual labels:  mathematics
isometric
A lightweight JavaScript library, written in TypeScript to create isometric projections using SVGs
Stars: ✭ 53 (+29.27%)
Mutual labels:  2d-graphics
kiselyov
Геометрия по Киселёву
Stars: ✭ 16 (-60.98%)
Mutual labels:  mathematics

About

A stochastic method to generate an approximation to the Sierpinski triangle. Made using p5.js.

Demo

Imgur link

Algorithm

  1. Pick a random point p inside the triangle (algorithm).
  2. Draw it.
  3. Pick a random vertex of the triangle and find its midpoint with p. Set p to that midpoint.
  4. Go to step 2.

Why it works

Not sure. Need to figure this one out.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].