Day 4: React and maybe some D3?


I finally finished my game of life!! I didn’t think it would be too hard. It actually turned out to be quite hard… There were some bugs that I wasn’t planning on having. Some of the states weren’t getting transferred and copied cleanly… So I had to think of other ways of getting around this problem (or I mean unintentional feature). I’m quite proud of it. It’s actually quite a cool project. I’m happy that I spent the time on it, now I just need to spend some time styling the background for it, then it is basically done! Rather than trying to attempt the dungeon crawler game that is the last react development project I am now attempting D3, for a while before I go and finish the last react project.

D3 is much different than I thought it would be. I thought it would be something like react. Nice and simple to work, and something like a framework where I just inputted the data and out came a graph! Boy I was wrong… It’s basically JQuery for graphs. Essentially it’s all about adding and removing css attributes. For example you select all bars (in a bar graph) and give them a certain height or color. You also manipulate the data essentially using iterators and callbacks. It’s quite neat but will take a while to get used to I guess. Then again loads of people have done this before so why shouldn’t I be able to do it.

I will see you tomorrow after some more development!

Leave a Reply

Your email address will not be published. Required fields are marked *