Nikola Tesla may be known today as one of history's greatest inventors, but the intrepid scientist's eccentricities have become as legendary as his trailblazing discoveries in the field of electricity.

July 10 marks the 158th anniversary of Tesla's birth, and to celebrate the occasion, LiveScience is looking back at Tesla's legacy, the cult of personality that has developed around the inventor in the years after his death, and the decades-old debate about who should be crowned the greatest inventor of all time: Nikola Tesla or Thomas Edison.

Though Tesla holds 112 lifetime U.S. patents, and is most famous for helping to develop the modern alternating current (AC) system of electric power, the inventor died penniless and in relative obscurity on Jan. 7, 1943, at age 86. [Creative Genius: The World's Greatest Minds]

Tesla's outsized and quirky personality, along with some of his more far-out ideas — such as his experiments to develop a particle gun, or death ray — earned him a reputation that fell somewhere between "creative genius" and "mad scientist." But while some regard him as the true father of electricity, others have come to remember Tesla more for his peculiarities than his accomplishments.

Here are some of the strangest facts about Tesla:

1. Tesla rarely slept, and claimed he never dozed for longer than two hours. The inventor also said he once worked for 84 hours straight without any rest, according to John O'Neil, author of the book "Prodigal Genius: The Life of Nikola Tesla" (Cosimo Inc., 2006).

2. Later in his life, Tesla frequented parks in New York City, often rescuing injured pigeons and nursing them back to health. A special PBS report on Tesla's life and legacy claimed that when the inventor took up residence at the Hotel New Yorker, "he had the hotel chef prepare a special mix of seed for his pigeons, which he hoped to sell commercially."

3. Tesla was a vegetarian, but eventually limited himself to a peculiar diet of only milk, honey, bread and vegetable juices, according to Marc Seifer, author of "Wizard: The Life and Times of Nikola Tesla," (Citadel Press, 1996). Later in life, he was consumed by an extreme aversion to germs, and would only eat food that had been boiled, reported PBS.

4. Tesla allegedly had a photographic memory, and could memorize entire books, according to Margaret Cheney, author of "Tesla: Man Out of Time" (Simon and Schuster, 2001).

5. According to Seifer's book "Wizard: The Life and Times of Nikola Tesla," the inventor claimed that repeatedly squishing his toes helped to stimulate his brain cells. In fact, Tesla reportedly performed his toe exercises nightly, 100 times for each foot.

6. Tesla spent decades as a New York City resident, and to commemorate his connection to the Big Apple, the intersection of 40th Street and Sixth Avenue in Manhattan is named "Nikola Tesla Corner." A plaque honoring Tesla can also be found on the façade of the New Yorker Hotel, where the inventor died.

7. Tesla died in Room 3327 of the New Yorker Hotel on Jan. 7, 1943. A death mask was commissioned after a medical examiner inspected the body. The mask is on display in the Nikola Tesla museum in Belgrade, Serbia. 

Follow Denise Chow on Twitter @denisechow. Follow Live Science @livescience, Facebook & Google+. Original article on LiveScience.

Related on LiveScience and MNN:

This story was originally written for LiveScience and was republished with permission here. Copyright 2014 LiveScience, a TechMediaNetwork company.