Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 83
  1. #21
    Senior Member gratefuldanny's Avatar
    Join Date
    Sep 2010
    Location
    DC Metro
    Hammock
    TTTG SB dbl
    Tarp
    OES SWT
    Insulation
    HG 20/Exped Synmat
    Suspension
    whoopie slings
    Posts
    144
    Wow!Will this work on the droid 2? How do I download it? What is your suggested donation value?

  2. #22
    Senior Member
    Join Date
    Sep 2010
    Location
    Northern Virginia
    Hammock
    Warbonnet Blackbird XLC
    Tarp
    JRB Universal Tarp
    Insulation
    Thermarest Regulus
    Suspension
    Adjustable Webbing
    Posts
    208
    If you have an internet connection on your phone, just navigate to it. Otherwise, use your browser to save the page to a place on your computer and transfer to your phone through USB cable or what not. I haven't tried it, but I think the browser on the phone will load a web page from the phone's memory card just as a normal computer's browser will from a hard drive.

    ~Dan

  3. #23
    Senior Member
    Join Date
    Sep 2010
    Location
    Northern Virginia
    Hammock
    Warbonnet Blackbird XLC
    Tarp
    JRB Universal Tarp
    Insulation
    Thermarest Regulus
    Suspension
    Adjustable Webbing
    Posts
    208
    Quote Originally Posted by jeffjenn View Post
    D, I'm very excited about this, but now in your default: suspension x 2 + Ridgeline = exact tree distance. Shouldn't the suspenion length be approx 3.9'? (no Quant here, where is Grizz when we need him?) Also how do you put this on a phone like a HTC Touch Pro 2?
    Agreed, the suspension length x 2 + ridgeline length is coming out to exactly the distance between the trees. That would only work if the hang angle is 0* from horizontal.

    cos 30* = ((distance between trees - ridgeline length) / 2) / suspension length

    or

    suspension length = ((distance between trees - ridgeline length) / 2) / cos 30*

    For the defaults:

    suspension length = ((15 - 9) / 2) / cos 30* = 3.4641'

    ~Dan

  4. #24
    Senior Member jeffjenn's Avatar
    Join Date
    Aug 2007
    Location
    sw,va
    Hammock
    HH Expd Asm or DIY or WBBB or .....
    Tarp
    HH Hex
    Insulation
    DIY UQ / CCF Pad
    Suspension
    Whoopie!!!....
    Posts
    672
    Images
    23
    Quote Originally Posted by DannyBoy2k View Post
    Agreed, the suspension length x 2 + ridgeline length is coming out to exactly the distance between the trees. That would only work if the hang angle is 0* from horizontal.

    cos 30* = ((distance between trees - ridgeline length) / 2) / suspension length

    or

    suspension length = ((distance between trees - ridgeline length) / 2) / cos 30*

    For the defaults:

    suspension length = ((15 - 9) / 2) / cos 30* = 3.4641'

    ~Dan
    Yeah, what he said, I think? This is why I try to avoid math!!!
    My knife is so sharp it cut the sixth finger off my right hand! On the plus side, Inigo Montoya no longer hunts me.

  5. #25
    Senior Member dejoha's Avatar
    Join Date
    Jun 2009
    Location
    So. Utah
    Hammock
    Most
    Tarp
    Sea to Summit
    Insulation
    Down
    Suspension
    Becket Hitch
    Posts
    2,184
    Images
    207
    Thanks DannyBoy! That was just the math I was looking for -- Javascript had its own methods so it took some digging, but your post got me in the right direction.

    The calculator is now working with better math!

    Hammock Hang Calculator

    This should work on all mobile devices and since there is no database or back-end scripts (all the Javascript and CSS is local) it should cache fine on Android, Blackberry, and iPhone/iPod Touch devices.

  6. #26
    Senior Member Knotty's Avatar
    Join Date
    Mar 2009
    Location
    Denville, NJ, USA
    Hammock
    DIY Stretch-Side
    Tarp
    DIY Cat Cut Hex
    Insulation
    Phoenix and Nest
    Suspension
    cinch buckles
    Posts
    4,377
    Images
    227
    Quote Originally Posted by dejoha View Post
    Thanks DannyBoy! That was just the math I was looking for -- Javascript had its own methods so it took some digging, but your post got me in the right direction.

    The calculator is now working with better math!

    Hammock Hang Calculator

    This should work on all mobile devices and since there is no database or back-end scripts (all the Javascript and CSS is local) it should cache fine on Android, Blackberry, and iPhone/iPod Touch devices.
    Are we to deduce from this that art is your strength, not math?
    Knotty
    "Don't speak unless it improves the silence." -proverb
    DIY Gathered End Hammock
    DIY Stretch-Side Hammock
    Stretch-Side "Knotty Mod"
    DIY Bugnet

  7. #27
    Senior Member dejoha's Avatar
    Join Date
    Jun 2009
    Location
    So. Utah
    Hammock
    Most
    Tarp
    Sea to Summit
    Insulation
    Down
    Suspension
    Becket Hitch
    Posts
    2,184
    Images
    207
    Quote Originally Posted by Knotty View Post
    Are we to deduce from this that art is your strength, not math?
    OOoooh, you are so cruel

    Well, I had all the math down, but Javascript is not my programming language of choice. My background is mostly Perl, but it has been a while since I've done much with programming. At first, I was trying different trigonometry functions to solve the problem, but no matter how I sliced it, the ridgeline kept coming up short.

    Danny's solution helped me look at the problem a different way, and it worked.

    But, given the choice, I'd rather draw than derive

  8. #28
    Senior Member
    Join Date
    Sep 2010
    Location
    Northern Virginia
    Hammock
    Warbonnet Blackbird XLC
    Tarp
    JRB Universal Tarp
    Insulation
    Thermarest Regulus
    Suspension
    Adjustable Webbing
    Posts
    208
    Glad I was able to help! Thank YOU for the great calculator! I can do the backend work; that's my job in real life. I've unfortunately remained ignorant about GUIs, but I hope to change that this year.

    Didn't look at the Javascript source to see if you did this, but I would just hard code the cos(30*) as a constant and not do the trig functions in code at all. Unless you allow the user to set the angle of hang as well, there's no need to use them.

    cos 30* = 0.866025404

    Cheers,
    Dan

  9. #29
    Senior Member dejoha's Avatar
    Join Date
    Jun 2009
    Location
    So. Utah
    Hammock
    Most
    Tarp
    Sea to Summit
    Insulation
    Down
    Suspension
    Becket Hitch
    Posts
    2,184
    Images
    207
    Quote Originally Posted by DannyBoy2k View Post
    Glad I was able to help! Thank YOU for the great calculator! I can do the backend work; that's my job in real life. I've unfortunately remained ignorant about GUIs, but I hope to change that this year.
    Thanks Dan. I'm usually on the front-end of things, but I've done enough web development projects to know my way around, albeit clumsily at times. I worked for a few .com's years ago and found a love for regex and Perl, but over time my career has moved into administration and marketing, so I don't often get to play with the back-end. I'm more than happy to let the pros do it, but some simple stuff like this is just fun and whimsical enough that I'll try it.

    The next project will be to create a companion web app that uses accelerometer functions to make a virtual level and protractor for checking hammock suspension angle and elevation. Anyone up for the challenge?

  10. #30
    You ROCK Dejoha!

  • + New Posts
  • Page 3 of 9 FirstFirst 12345 ... LastLast

    Similar Threads

    1. Updated Hammock Hang Calculator App
      By dejoha in forum General Hammock Talk
      Replies: 55
      Last Post: 03-28-2015, 10:27
    2. WBRR specs for Hammock Hang Calculator
      By Illini in forum Warbonnet Hammocks
      Replies: 4
      Last Post: 12-13-2013, 17:59
    3. Hammock Hang Calculator for Android
      By dejoha in forum General Hammock Talk
      Replies: 20
      Last Post: 10-27-2013, 02:10
    4. Just Released! Hammock Hang Calculator App for iOS
      By dejoha in forum Other Vendors and Services
      Replies: 44
      Last Post: 12-06-2012, 21:06

    Tags for this Thread

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •