The Gif Connoisseur #343
Anonymous asked: Do you ever post your source code?
Yeah, sometimes, when it’s ‘good’ enough.
I say good. I actually have basically no idea what I’m doing so it’s probably a bit subjective.
I have a github account and also post gists occasionally. It’s a bit of a mess - there’s a raytracing reverb generator written in Haskell on my github, and the gists are mainly Project Euler solutions and Processing sketches. The raytracer is pretty poor though, I don’t recommend looking at it. I’m rewriting it at the moment in C++ using the Juce library, which is proving to be a lot of fun, although at the moment it looks like I need to write a .obj loader and octree collision checker, which I’m dreading. The C++ version will probably appear on my github too, once I get round to it.
I got a really nice anon ask last week but I can’t reply. ‘Cause it was anon. So if that was you, thanks :3
This didn’t turn out as well as I’d hoped, but then I accidentally a whole dragon
I should rename this blog ‘Dragon ball’ because everything in it is super-cyan.
line inside a fractal inside a fractal inside a fractal inside a draw() loop
(∪ ◡ ∪)
Does anyone know of a C++ library for text sentiment analysis, preferably that can run without an internet connection?
Got all the pre-presentation work done, so spent the last two days in Max MSP Dev workshops, being taught about external development by actual C74 programmers/employees.
Tomorrow a couple of programs that I worked on are being presented at the IRCAM forum, so that’s pretty rad. If you’d told me this time last year that I’d be a collaborator and contributor to commercial software I’d have been like whaaaaaaa
I also discovered that IRCAM has a project called LEGOS which is not at all what it sounds like :(
Anonymous asked: Hi Reuben! I was wondering: how do you stay motivated when it comes to technical projects and being productive? You seem to really have it together, and I look up to you for that. Thanks :)
Oh no, it’s a very superficial togetherness! There’s a bunch of stuff I feel I ought to be doing - learning calculus, reading about sysadmin, writing music - but I’m only really motivated to make animations and write code. Everything else just kind of festers on the to-do pile of shame.
So maybe the key to being productive is to make it so that the stuff you should be doing is the same as the stuff you want to be doing. If you’re not motivated by any of your technical projects, maybe that means they’re the wrong projects.
Another thing that helps is to have somewhere public where you can write about what you’re doing, or to have someone you talk with regularly about your work. Have some way of being accountable. I started this blog originally so that I would have a place, and also something of an obligation, to be creative.
And if there’s no time limit on your projects, then don’t be afraid to take breaks and mull things over. Read a book, listen to some music. Relax a bit. If you’re learning and having fun then that’s an end in itself.
But other than that I’m not sure. It’s a massive compliment to hear that there’s someone out there who looks up to me (maybe you meant to send this to a different Reuben?) so Very Thanks, and I hope some tiny part of this rambling reply was helpful :)
Spent the afternoon finishing porting the raytracing reverb from Haskell to C++ (‘Blasphemy!’ I hear you cry).
The good news is that it’s a little bit faster now, and I don’t have to worry about serialising data or efficiently writing to arrays or multi-language build systems. Also, I managed to keep most of the modularity of the Haskell version, but now it’s encapsulated in tiny objects. In fact, this might be the first piece of 100% OOP (no procedural stuff) C++ I’ve written from scratch. Milestone?
The bad news is I already know C++ so I’m not learning as much.
So, for the first time, I have a version of this program that has all the basic features in place, and the coding style is not completely horrible everywhere. I’m making progress!
The remaining work is, in this order:
- Moving from a planes and spheres model to a triangle-mesh model
- Adding .obj import
- Implementing some kind of octree for intersection detection (maybe. probably. depending on speed)
- Building a proper GUI (maybe I’ll be able to try out Cinder’s CocoaView?)
The goal is still to have a working, full-featured demo by the end of the year…
doomslight asked: can you make a thing using a thing colors on my blog thing?
You can have a thing in any colour you want so long as it is cyan.
In more interesting news:
My sister is super awesome at painting/drawing/art/just-being-awesome, and one of her A-level pieces has been selected to be displayed at the 2014 Royal Society of British Artists exhibition at the Mall Galleries in London.
Many cool. Much proud. Very wow!
If any of you are in London at that point you should go and check it out :3