Quantcast
Channel: Math – The blog at the bottom of the sea
Browsing latest articles
Browse All 67 View Live

Image may be NSFW.
Clik here to view.

Markov Chain Text Generation

This post includes a standalone (only standard headers, no external libs) ~400 line C++ source file that can analyze text and use an order N Markov chain to randomly generate new text in the same...

View Article



Image may be NSFW.
Clik here to view.

Generating Random Numbers From a Specific Distribution With The Metropolis...

There is ~400 lines of standalone C++ code that implements the main ideas in this post. You can find it at: https://github.com/Atrix256/MetropolisMCMC In previous posts I showed how to generate random...

View Article

Image may be NSFW.
Clik here to view.

Taking the Max of Uniform Random Numbers

There is 80 lines of simple standalone C++ code that generated the data for this post at: https://github.com/Atrix256/RandomCode/blob/master/randmaxadd/Source.cpp Let’s say you generate 1,000,000...

View Article

Image may be NSFW.
Clik here to view.

Generating Blue Noise Textures With Void And Cluster

Blue noise comes in two main flavors: sample points and masks. I’ll be calling blue noise masks “blue noise textures” in this post. The code that accompanies this post, implementing the void and...

View Article

Image may be NSFW.
Clik here to view.

Dice, Distributions & Noise Colors

Thank you Uncle Chris and Aunt Lily for sending me this gigantic 120 sided dice! A while back I came across an interesting page that talks about some fundamental concepts relating to noise. It isn’t...

View Article


Image may be NSFW.
Clik here to view.

Bayes’ Theorem Intuition

Bayes’ theorem is a way to calculate the probability of something happening based on evidence that may affect that probability. It’s a formula for combining probabilities together when they might...

View Article

Image may be NSFW.
Clik here to view.

Calculating Information Entropy

This post has an overview of information entropy then moves onto some technical details and experiments. If you have any comments, questions, important additions, etc, please hit me up by commenting on...

View Article

Image may be NSFW.
Clik here to view.

Bezier Triangles

There’s an interactive Bezier Triangles webGL demo I made that goes with this post, and what i used to make the 3d rendered images with. You can find here: http://demofox.org/BezierTriangle.html Above...

View Article


Image may be NSFW.
Clik here to view.

FIR Audio & Data Filters

There is an interactive demo that goes with this post where you can play with filter parameters, hear the resulting filter applied to audio samples, and copy/paste the simple formula to use the filter...

View Article


Image may be NSFW.
Clik here to view.

A Fun 2d Rotation Matrix Derivation

A few weeks ago I joined NVIDIA as part of the graphics dev tech team. The dev tech team’s scope is pretty wide, but it encompasses nearly all real time graphics programming needs that NVIDIA may have:...

View Article
Browsing latest articles
Browse All 67 View Live




Latest Images