Chris 2pha Brown

Chris Brown

Drupal, Javascript, Three.js, 3D

website blog

I found it hard to find an example of how to use gulp-imagemin with a plugin, specifically in my case, the imagemin-pngquant plugin.The difference seen between using compressing a .png with the default compressor that is included in gulp-imagemin and pngquant was substantial.I was converting a 100px.....

Today I came across a question on stackoverflow asking how to make round particles in Three.js (Three.js - give particles round form). I have seen questions like this a few times and the answers always seem to be to load an image and use it as a texture. People seem to forget that you can use a.....

The Tango messenger app is probably the worst app for privacy I have ever come across. If you have any concern for your privacy at all, you should not use it. Below I will list just a few of the things that concern me as far as privacy and the Tango app. Tango saves all your contacts to their.....

Often times when writing a module to migrate content leveraging the Migrate module you will find yourself disabling and re enabling your module as you add classes to it.When you do this you might find that you get errors about classes not being found or that your migrations are still being displayed.....

Today while setting up a Drupal dev environment on a new PC I encountered the drush error "Command needs a higher bootstrap level to run". The first thing I did as many probably would is do a quick search on google. This though yields many different results and fixes. The problem though is I didn't.....

Putting this here for my own future reference.It adds an input textfield under an owl carousel (2.0.0-beta.2.4) to jump to a certain item.Dots must be on to use the "to" method.It also includes some stuff for lazy loading as it did not seem to work when using the "to" method of the OwlCarousel.....

There are many modules out there to prevent spam registrations in Drupal, but many of them involve some sort of Captcha, which I hate, or a paid for service. Stopping fake site registrations should not make it harder for the legitimate people trying to register on your site, and having to pay to.....

Many times in the past I have wanted a taxonomy structure for things like car makes and models or Australian States and Suburbs and find myself recreating them every time. So today I decided its probably better to have them stored somewhere. Luckily the Taxonomy Manager module easily allows you to.....

Recently while experimenting with three.js shader materials I stumbled across RenderMonkey. It is old software that is no longer supported and the description on the website says: "RenderMonkey is a rich shader development environment for both programmers and artists that facilitates the.....

When playing around and experimenting with Three.js ShaderMaterial I often want to take a look at how the standard Three.js materials are done. Looking through the code or constantly outputting the shaders in the javascript console is a pain in the arse. I though I would post them here for future.....