Author Archives: enj

LBL Summer Research: Report 1

Hello world! I’m excited to be writing to you from the beautiful Bay area in California, specifically the Lawrence Berkeley National Laboratory at the top of the hill in Berkeley. This summer I’ll be working with Hank Childs and the … Continue reading

Posted in code, life, opencl | 3 Comments

Can you see the force?

I’ve been working on my Master’s Thesis lately and getting a headache from all the formal writing. So I just want to blog some informal shit real quick. Here are a bunch of screenshots I took playing with my 2D … Continue reading

Posted in misc | Leave a comment

Particles in BGE: Improved Code, Collisions and Hose

Hello world! I’m back with another video to show you guys what we are cooking up here at DSC. I’ve made a lot of internal improvements to the code, but I have a little something to show as far as … Continue reading

Posted in blender, code, opencl | 16 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 | 6 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 | 17 Comments

pycon 2011

Andrew, Nathan and I just got back from Atlanta for Pycon 2011 and it was a blast. It was a great mix of learning, hacking, networking and free swag. I have never been picky about free t-shirts before, but there … Continue reading

Posted in code, community, python, travel | Leave a comment

A Python Function Timing Decorator

I recently went up to North Carolina to visit a good friend of mine, and we got to talking Python as we are wont to do. He told me about a PEP for enhancing generator syntax and creating cofunctions. To … Continue reading

Posted in code, python | 1 Comment

Hijacking the BGE for Fun and Particles

Hello world! Care to take a journey into the annals of my twisted mind? Join me on a ride through a small part of the Blender Game Engine on a rickety roller coaster of code and commentary. For those interested … Continue reading

Posted in blender, code | 2 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 | 12 Comments

class useless(xkcd):

Happy Valentines Day! with all due respect to the original classic

Posted in life | 3 Comments