Skip to content Skip to sidebar Skip to footer
Showing posts with the label 2d

Source Code For Javascript Tree That Features In "inventing On Principle" Video

I was quite inspired by Bret Victor's Inventing on Principle video (http://vimeo.com/36579366).… Read more Source Code For Javascript Tree That Features In "inventing On Principle" Video

Shifting Rows And Columns In 2d Arrays - Javascript

I have a situation as such: var array = [ [1,2,3], [4,5,6], [7,8,9] ] And I am trying to cre… Read more Shifting Rows And Columns In 2d Arrays - Javascript

Rotate Rectangle Around A Point

How would I get 4 points rotated a certain degrees around a pointer to form a rectangle? I can rota… Read more Rotate Rectangle Around A Point

Canvas Context Property To Prevent Hardware Accelerated Rendering?

Is there a setting for the canvas context that will prevent its renderer from using hardware accele… Read more Canvas Context Property To Prevent Hardware Accelerated Rendering?