Herng Yi Cheng
  • Home
  • Publications
  • CV
  • Outreach
  • Art
    • Origami >
      • Origami Design Gallery
      • Origami Publications
      • Origami Research and Applications
      • Modular Polyhedra from Waterbomb Base Units
    • Performance
  • Blog
    • Featured Post
  • External Links

Hmol (Software)

7/22/2014

1 Comment

 
Back in 2010 I tinkered around with 3D graphics, and I learned how to use OpenGL, a 3D graphics engine, with the only language I knew well, Haskell. Eager to try it out, I embarked on a project to build from scratch a molecular graphics engine, because cool images of molecules always impressed me. Below are some snapshots from the program Hmol that I wrote:
Hmol is publicly available via Github under the GNU GPLv3 License (details in the Licensing section at the bottom).
I distinctly remember finishing much of the development during my exam period—no classes and no homework, so lots of spare time!

Read More
1 Comment

Image compression basics

5/12/2013

0 Comments

 
Part 2 of a six-part series of adaptations from Terence Tao’s book “Structure and Randomness".

[1.2] Compressed sensing and single-pixel cameras

This'll be quick; the only part of the original blog post that I understood comfortably was the brief (and slightly inaccurate) explanation of traditional image compression. It's how image formats like JPEG can reduce the memory space needed by an image file drastically while losing only a bit of quality.
Before image compression and after image compression. The data savings far outweigh the slight drop in quality.
The data savings far outweigh the quality loss. Research is ongoing to minimize quality loss without using more storage space.

Read More
0 Comments

To think, you must doubt.

3/29/2013

0 Comments

 
To any sentient being, I think the most important thing is to doubt yourself. No matter how sure you are of yourself, you must always bear in mind that you can be wrong. In fact, you have been wrong on many (most?) occasions, and you will be wrong for many times to come. This is a serious and crucial realization, because most of our actions arise from our conscious and unconscious beliefs.

Our horizons are bounded. The thoughts and opinions we can have are limited by our cultural experience (e.g. socially accepted norms). Our confidence in our beliefs is bolstered by the fact that we can only operate inside our tiny little box, which makes everything in the box so familiar and comfy and, you know, "obviously true".

However, to make good decisions in life, we must accumulate much "experience" to guide us. That "data" comes in the form of a diverse array of opinions and beliefs, which may not agree with each other. We must expand our shoebox of a mind to a warehouse of different perspectives which allow us to appreciate things and happenings more completely. This will aid our decision-making process by allowing us to evaluate the consequences of choices more accurately.
Picture
To think, you must doubt.
Hence, to grow as a person, we should:

Read More
0 Comments

    Archives

    December 2020
    February 2020
    January 2019
    December 2018
    May 2018
    December 2017
    August 2017
    July 2017
    May 2016
    October 2015
    December 2014
    September 2014
    July 2014
    June 2014
    May 2014
    March 2014
    February 2014
    January 2014
    September 2013
    June 2013
    May 2013
    March 2013
    December 2012

    RSS Feed

    Categories

    All
    Advocacy
    Art
    Design
    Elementary
    Exhibition
    Mathematics
    MIT
    Musing
    Origami
    Programming
    Puzzle
    Research
    Science
    Teaching
    Theater
    Writing

  • Home
  • Publications
  • CV
  • Outreach
  • Art
    • Origami >
      • Origami Design Gallery
      • Origami Publications
      • Origami Research and Applications
      • Modular Polyhedra from Waterbomb Base Units
    • Performance
  • Blog
    • Featured Post
  • External Links