Yesterday I was trying to make work simple test class in VS2012. I did not know what was wrong exactly. It was first project when I tried to glue together Entity Framework with repository pattern and Ninject as IoC container. Because of the fact that this was first time for solution like that I was sure that it is me, or rather source of my problem was indeed my code. But let’s not skip ahead. Continue reading “Entity Framework Patterns extension and Unit Test in Visual Studio 2012”
Line in WebGL and why you gonna do this on your own.
WebGL as method for generating 3D graphic in browser and it is pretty powerful. You can do really awesome things with this, like porting Quake 2 to JavaScript or creating model of human body. But all of this 3D object are complex collection of hundreds or thousands triangles. What if you just want to draw a simple thin line? Luckily OpenES have support for that. So it is possible. Lets see how to do that. Continue reading “Line in WebGL and why you gonna do this on your own.”
Cartezian coordinate system in HTML 5 canvas
Normally canvas 2D context is using custom coordinate transform where Y coordinates are flipped vertically. Here is image with example (taken from http://diveintohtml5.info/canvas.html; it is great book and you should read it 🙂 )
It is a bit inconvenient to use if you are drawing some shapes with points given in classic Cartezian coordinate system. Continue reading “Cartezian coordinate system in HTML 5 canvas”
Simple 2D graphs
While writing application for my Masters Degree diploma I was required to came up with simple library for creating simple 2D graphs in the browser. Today I decided to share it with the rest of the world 🙂 Continue reading “Simple 2D graphs”
Curious Case of Visual Studio project compatibility.
Recently I was asked at work for quick review of small project. It was created (or updated) in newest version of Visual Studio – 2012. I don’t have installed VS 2012.
I could install it, yes, but it would be just waste of time since browsing through code in that project took me only few hours.
So I decided to try to open that in VS 2010. Continue reading “Curious Case of Visual Studio project compatibility.”