SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Galactic Overlord gold trophysilver trophybronze trophy
    HAWK's Avatar
    Join Date
    Aug 2003
    Location
    New Zealand
    Posts
    12,573
    Mentioned
    976 Post(s)
    Tagged
    14 Thread(s)

    Look What I Made! Fluid Grid Calculator

    The latest in our series of cool things that have been made by the community, is @Ahmed Sadman ; with a program that simplifies fluid layouts.

    I'll let Ahmed fill you in...


    If you have something that you'd like to share with the community, PM me.

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2012
    Posts
    50
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Hello everyone,

    I once created a very small program in Python which helps to calculate fluid grid values. Now I want to share it with you. You can use this while creating Responsive Web Designs.

    We all know that fluid grid values are calculated with this formula- target / context = result

    This program uses this formula, it's a console program actually.

    Advantages:
    1. No need to use external calculator or desktop calculator. All the calculations can be done inside the program and the value will be automatically converted to percent.
    2. Context will be fixed till you change it. So you can calculate with more flexibility.
    3. (MOST IMPORTANT) You don't need to copy the result, it will be auto copied to your clipboard. You just need to paste it.

    How to use:
    Very simple.
    1.1: Download it, unzip it and run 'Responsive Calculator.exe'.
    1.2: You will be asked for Context. Then you will be asked for the targeting value. Type it and press enter. You're done, the result is automatically converted to percentage and also COPIED IN THE CLIPBOARD.
    1.3: Just open your code and paste the value.

    The context will be fixed till you change it. To change it,
    2.1: Leave the TARGET query blank and press enter. Then you will be asked for the context.
    2.2: Type your new context and it will be changed.

    Download Responsive Design Calculator (EXE)

    Source Code at: http://pastebin.com/n3DEYppa

  3. #3
    Non-Member
    Join Date
    Nov 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I really appreciate that you took all this time to try and help us. thanks for the sharing

  4. #4
    SitePoint Member
    Join Date
    Dec 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice =)

  5. #5
    SitePoint Member
    Join Date
    Jun 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up nice

    very nice


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
  •