Wednesday, October 15, 2014

Procedural modeling: L-System Tree

Just sharing my L-system on tree creation. First time I did it in Dynamo (http://dynamobim.org/), around 6 months ago during my internship. This time around I am taking Computer Graphics module, so I did it in OpenGL for my lab assignment, although I only use tapered cylinder and ellipse-based cylinder as per assignment requirement.





Sunday, June 1, 2014

Android Home - Intent

Finally I figure out what makes an Android home/launcher an Android home/launcher. You need the intent to be so. The intent is android.intent.category.HOME. With that, your activity will be a home.

Thursday, May 22, 2014

Ceasing of Android Home Sample Development

GitHub
Home

Bad news. I am ceasing development on Android Home Sample. Reason being I found it very hard to update it to follow recent SDK since the basis of the code is very old. I could redo the whole thing, of course, but I find it would be better if I make one from scratch. I might be making a new repo for the launcher from scratch soon. We'll see :)

Thursday, May 1, 2014

Unity Endless Runner Tutorial #4 - High Scores

Original Tutorial
http://catlikecoding.com/unity/tutorials/runner/

My version of the game (Version Log)
http://www.hansadrian.com/Stuff/Endless%20Runner%20Tutorial/build.html

GitHub Gist (for full code files)
https://gist.github.com/HansNewbie/10005219/38e71e0c7358d15335412cbbbcdbb3facee36094

Completed Project Files (V0.6.1)
Buy this on Selz Selz powering ecommerce websites

For version 0.4, I added high score system. I was chasing for speed, so from software engineering view, I broke the architecture. I could not get past one problem.

Namecheap for GitHub Pages

So I was looking into custom domain for my GitHub Pages and I asked my friend which custom domain service he is using. He is using Namecheap1. I bought the domain and was configuring it when I was lost O_O because I am new to this and GitHub help does not have specific instructions on this. I googled and found http://davidensinger.com/2013/03/setting-the-dns-for-github-pages-on-namecheap/.

Hopefully it will work :)

Update:
Hoo Haa! It works :D Go visit my site! www.hansadrian.com

1. Affiliated links. If you wish to register without referral, go to namecheap.com :)

Wednesday, April 23, 2014

Sticking with Blogger

I think I am sticking with Blogger. I found syntax highlighting system for Blogger. You could find the post about it at http://mlawire.blogspot.sg/2009/07/blogger-syntax-highlighting.html. I will update the codes in this page with the syntax highlighter. I apologize for the upcoming layout changes every now and then because I want to update the blog design.

Thursday, April 10, 2014

Installing Jekyll On Windows. Ouch.

It is getting very painful to do code blogging here. No code marking, syntax highlighting and blah blah blah. I am thinking of using Jekyll to blog. And yeah, I thought I could straight jump into it but apparently not.

For those of you thinking of doing the same, here is my way. Note that I already installed Python in my computer.

1. Get Ruby and RubyGems - follow instructions from https://forwardhq.com/support/installing-ruby-windows
2. For syntax highlighting, install Pygments - follow instructions from http://zduck.com/2009/installing-python-pygments-on-windows/
3. Now, install jekyll - run gem install jekyll

That's all that I have done. Hope Jekyll would be great!

Tuesday, April 8, 2014

Unity Endless Runner Tutorial #3 - Boost Logo

Original Tutorial
http://catlikecoding.com/unity/tutorials/runner/

My version of the game (Version Log)
http://www.hansadrian.com/Stuff/Endless%20Runner%20Tutorial/build.html

GitHub Gist (for full code files)
https://gist.github.com/HansNewbie/10005219/38e71e0c7358d15335412cbbbcdbb3facee36094

Completed Project Files (V0.6.1)
Buy this on Selz Selz powering ecommerce websites

For version 0.3, I added a boost logo next to the logo counter to make the GUI more user-friendly. You could get the image I used as GUI texture below.