methods are disclosed for transmitting information from a handheld device to a terminal . the information is encoded as a barcode pattern . the barcode pattern is generated on a display of the handheld device . a size of the barcode pattern is periodically modulated on the display while maintaining internal relative dimensions within the barcode pattern . the periodically modulating barcode pattern is displayed to an optical reader of the terminal .