Category Archives: tutorial

[dd3] d3.js selection tutorial

This weekend I made a video aimed at people just getting into d3. I use a super simple bar graph to illustrate the fundamental principle of selections with d3. At 13 minutes it’s a little over the 10 minute goal … Continue reading

Posted in advd3, code, d3, tutorial | 2 Comments

Simple D3.js Bar Chart Webcast

So I’ve been diving head first into d3.js and I must say its a mighty fine library! I do feel like getting up to speed with it can take quite a bit of reading and playing, and now that I’ve … Continue reading

Posted in advd3, code, d3, tutorial | 6 Comments

Adventures in OpenCL Part 3: Constant Memory Structs

Today we make a brief stop on our journey to examine a technique which has proven useful but not straightforward; passing in a structure as a parameter to an OpenCL kernel as __constant memory. Why would you want to do … Continue reading

Posted in advcl, code, python, tutorial | 7 Comments

Adventures in PyOpenCL: Part 2, Particles with PyOpenGL

Today we journey as pythonauts into the world of particle systems and fast 3D graphics, manipulating thousands upon thousands of little dots in mere milliseconds! We accomplish this with two Python modules, PyOpenCL and PyOpenGL. This is a port of … Continue reading

Posted in advcl, code, opencl, python, tutorial | 21 Comments

Adventures in PyOpenCL: Part 1 Getting Started with Python

Hello, World! I’m a big fan of Python (and excited to be attending PyCon!), and I’ve recently started playing with a great module called PyOpenCL. I’ve ported my Part 1 (and Part 1.5) tutorials from C (and C++) to Python … Continue reading

Posted in advcl, opencl, tutorial | 14 Comments

Adventures in OpenCL Part 2: Particles with OpenGL

This tutorial series is aimed at developers trying to learn OpenCL from the bottom up, with a focus on practicality. This installment introduces OpenCL context sharing with OpenGL. We make a simple particle system to demonstrate this feature. One of … Continue reading

Posted in advcl, code, opencl, tutorial | 12 Comments

Adventures in OpenCL: Part 1.5, C++ Bindings

This tutorial series is aimed at developers trying to learn OpenCL from the bottom up, with a focus on practicality. This part is a reworking of my first tutorial using the OpenCL C++ Bindings. Learning by example works best for … Continue reading

Posted in advcl, code, opencl, tutorial | 11 Comments

Adventures in OpenCL: Part 1, Getting Started

This tutorial series is aimed at developers trying to learn OpenCL from the bottom up, with a focus on practicality (i.e. I’m still learning, I’m sharing what I’ve found to work). Learning by example works best for me so make … Continue reading

Posted in advcl, code, opencl, tutorial | 36 Comments