Giter VIP home page Giter VIP logo

svgpocketguide's Introduction

Source for "Pocket Guide to Writing SVG" by Joni Trythall (@jonitrythall)

Please see the LICENSE for information on sharing.

svgpocketguide's People

Contributors

chezfre avatar felipecesr avatar imhaleyfyi avatar jonitrythall avatar lucasmaiaesilva avatar mtrythall avatar willianjusten avatar xhmikosr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

svgpocketguide's Issues

Improve viewBox section

I know the current definition of the viewBox in the book is closer to what is said in the spec, but it would be easier for an average reader to understand the concept of the viewBox if it would be explained using bottom-up approach, i.e.:

  1. The SVG canvas has infinite size and contains elements that are positioned and sized using abstract, non-physical units.
  2. The sole purpose of the viewBox attribute is to define a finite rectangular area of the infinite canvas for the purpose of rendering (because you can't render something that has infinite size on finite medium such a screen).
  3. The viewport is a finite rectangular area of the screen into which the canvas area specified by the viewBox will be rendered. "preserveAspectRatio" attribute of the viewport element specifies algorithm to be used in order to fit the viewBox area.

orienting to the coordinates

Hi Joni,
I am enjoying the svg pocket guide, but as soon as I get into section 2 I want to understand the coordinate system. Is (0,0) at the bottom left? For the line example and your staircase example, does the code start drawing at the top or the bottom? One little sentence to clarify this would be helpful.

Audio file duplicates

There is a duplicate zipped folder within the audio file download resulting in a mega huge file. Remove the zipped version.

โœŒ๏ธ

Printing the book problem: Header overwrites content

Hello,

Thanks for doing this book! It's fantastic.

However, I printed a copy and found that every page had a banner at the top with "TOC v" (where the "v" represents a down-arrow). This wouldn't be a big deal, but it covers up lines of content on several pages.

It'd be great if the code could be modified to hide the "

" element on printing.

I'll do a fix and pull request, if you like.

Thanks again!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.