GO:0050354: triokinase activity
Catalysis of the reaction: D-glyceraldehyde + ATP = D-glyceraldehyde 3-phosphate + ADP + 2 H(+).