Hi. I'm Gerard and I use computer science to build cool things and solve problems. On my website are hosted a bunch of articles I wrote pertaining to computer science, enjoy.
- Generating probabilistic roadmaps.
- Using heuristics and rejection sampling for randomly generated roadmaps in virtual worlds.
- Foreign constructors.
- Introducing a new constructor design pattern for C++11 or newer.
- Force-based model for traffic simulation.
- A condensed version of a school paper which explores the use of crowd simulation techniques for traffic simulation.
Interactive Lab
I seem to make it a habit to produce more demos than articles, here are some undocumented interactive experiments that work right in your browser. If you feel so inclined, you can find the source code of these demos on GitHub, but that's less fun than just playing with them.
![Preview of the Color Heatmaps demo](https://d33wubrfki0l68.cloudfront.net/d25a00705577e2d4cda3cc871771a948cbd807cf/76605/media/images/previews/skincolor.png)
Color Heatmaps
![Preview of the Polygon Shape Comparison demo](https://d33wubrfki0l68.cloudfront.net/f8dadd513536090b68889a7bf27c577f089a7cfe/b6dd8/media/images/previews/polygoncompare.png)
Polygon Comparison
![Preview of the Polygon Smoothing demo](https://d33wubrfki0l68.cloudfront.net/590e86a87b0052904ed08ee1925799b2290f6a3c/c1037/media/images/previews/mlspolygon.png)
Polygon Smoothing
![Preview of the Bouncy Bezier demo](https://d33wubrfki0l68.cloudfront.net/0b18c94a48a53a2f18e68a206b6ac2dfa2bb8f49/153cc/media/images/previews/bouncybezier.png)
Bouncy Bezier
![Preview of the Image Filters demo](https://d33wubrfki0l68.cloudfront.net/4775e550076b403768c2d9c979e73bfaeecd5f8c/29de8/media/images/previews/imagefilters.png)
Image Filters
![Preview of the Hough Transform demo](https://d33wubrfki0l68.cloudfront.net/e79f0f937a33282e09d2350c4bf68c59e8cfd5a2/a7676/media/images/previews/houghtransform.png)
Hough Transform
![Preview of the Smallest Annulus demo](https://d33wubrfki0l68.cloudfront.net/4449f5475f9b98e8c19576e6a361311d4cfe1989/f258d/media/images/previews/annuli.png)
Smallest Annulus
![Preview of the K-means Clustering demo](https://d33wubrfki0l68.cloudfront.net/1da787f05262df48caee6ad1655a731410685cff/23249/media/images/previews/kmeans.png)
K-means Clustering
![Preview of the Classification Models demo](https://d33wubrfki0l68.cloudfront.net/669116909255473c1aba133096da33442c42d43a/bfb01/media/images/previews/wide-classification.png)
Classification Models
![Preview of the Neural Networks demo](https://d33wubrfki0l68.cloudfront.net/6e155c83cd599f4ab2244fad60c5fc100eac740c/fca78/media/images/previews/neuralnetwork.png)
Neural Networks
![Preview of the Procedural rooms demo](https://d33wubrfki0l68.cloudfront.net/4091c22a5c28d4b3994c07543afd86ab6ed331ae/ef3a8/media/images/previews/rooms.png)
Procedural rooms
![Preview of the Voronoi diagrams demo](https://d33wubrfki0l68.cloudfront.net/0eba8b7b5cad65369200513ae0f848dfc826ec2e/68820/media/images/previews/delaunay.png)
Voronoi diagrams
![Preview of the (Moving) Least squares demo](https://d33wubrfki0l68.cloudfront.net/4a2c66a734ae4f3f56049192ebc4dfd39e57c6ef/7d630/media/images/previews/mls.png)
Least Squares
![Preview of the Bézier Curves demo](https://d33wubrfki0l68.cloudfront.net/9252657b40043c3cfd234beb0ebb5cb00a028900/0c0ed/media/images/previews/bezier.png)
Bézier Curves
![Preview of the Polynomials demo](https://d33wubrfki0l68.cloudfront.net/15fac55b5697b8bbbd08bfdfbfe17a77b38e32d7/3c41c/media/images/previews/polynomials.png)
Polynomials
![Preview of the Minkoski Sums demo](https://d33wubrfki0l68.cloudfront.net/215027816ae506c805d2ee289d46880dad6ac0c7/f42c9/media/images/previews/minkowski.png)
Minkoski Sums
![Preview of the Flocking Behaviour demo](https://d33wubrfki0l68.cloudfront.net/2cf7c2d4a431f4cb47a429f59b0f3d30b4dcd7c0/265b7/media/images/previews/flocking.png)
Flocking Behaviour
![Preview of the Rotational Kinematics demo](https://d33wubrfki0l68.cloudfront.net/57070bb4ae6c31256d24bf1ff325de79bea54256/56952/media/images/previews/pfn.png)
Rotational Kinematics
![Preview of the Pathfinding demo](https://d33wubrfki0l68.cloudfront.net/06d2d1f67acd206aed90e9041b45af7d30161f29/b114f/media/images/previews/astar.png)
Pathfinding
![Preview of the Volleyball demo](https://d33wubrfki0l68.cloudfront.net/a3dffea89be7013859818dd0d2047c583ece03c7/fe23b/media/images/previews/volley.png)
Volleyball
![Preview of the Squad Pathfinding demo](https://d33wubrfki0l68.cloudfront.net/9c4f82cdf761c4ac7533db679be733f33390e531/4a893/media/images/previews/wide-vintage.png)
Squad Pathfinding