Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • PeoplePods 0.9
  • Brackets Sprint 8
  • elFinder 2.0 RC1
  • BBClone 0.6.1
  • Twitter Follow Box...
  • Multilingual Press...
  • SimplePie 1.2.1
  • TinyTips 1.2
  • SWFUpload 2.2.0.1 ...
  • Head Cleaner 1.4.2.9
  • Home > Scripts > Graphics and Multimedia > Graphics and Animations

    Artisan JS 1.018

    Download button


    Downloads: 139  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:


    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    David Brooks | More scripts
    www.artisanjs.com
    MIT License
    GPL - GNU General Public License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    JavaScript
    February 5th, 2012, 13:05 GMT
    C: \ Graphics and Multimedia \ Graphics and Animations

     Read user reviews (0)  Refer to a friend  Subscribe

    Artisan JS description

    This is a JavaScript library for making in-browser drawing very, very easy

    It uses HTML5 canvas to created layered graphics.

    Here are some key features of "Artisan JS":

    General Variables:
    · target - (string) This is the ID of the canvas element on which you'd like to draw.
    · placex - (number or 'random') The coordinate on the x-axis
    · placey - (number or 'random') The coordinate on the y-axis
    · radius - (number or 'random') Used in circles, this is how wide your circle will be.
    · height - (number or 'random') Measured in pixels
    · width - (number or 'random') Measured in pixels
    · src - ('string') The location of an image file.
    · fill_color - ('string', array or 'random') You can pass in either rgb, rgba or hex formatted colors.
    · line_width - (number or 'random') If you want your shape traced, or your line to have a width, specify it here.
    · stroke_color - ('string', array or 'random') You can pass in either rgb, rgba or hex formatted colors.
    · alpha - (number or 'random') The level of transparency, measured 0 - 1
    · shadow_blur - (number) The range of the shadow
    · shadow_color - (string, array or 'random') You can pass in either rgb, rgba or hex formatted colors.
    · shadow_offset_x - (number) How far away the shadow falls on the x-axis
    · shadow_offset_y - (number) How far away the shadow falls on the y-axis
    · text - ('string') Used when drawing text.
    · font - ('string') Your chosen font stack. Default is 'sans-serif'.
    · type - ('string') The type of line to be used. Options are '', 'bezier', 'quadratic'

    Drawing Functions:
    · Draw circle
    · Draw image
    · Draw line
    · Draw path
    · Draw rectangle
    · Draw text

    Layering Functions:
    · Stack layers
    · Create layer
    · History
    · Draw layer
    · Draw Stack

    Utility Functions:
    · Close path
    · Randomize function
    · Rotate canvas
    · Clear canvas

    Requirements:

    · JavaScript enabled on client side

    Limitations:

    · Artisan is not compatible with Internet Explorer.



    TAGS:

    drawing library | image layer | render graphics | graphics | layer | draw



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM