Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
codebar
tutorials
Repository navigation
Code
Issues
27
(27)
Pull requests
17
(17)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More
items
SVG and canvas tutorial
#100
New issue
Copy link
New issue
Copy link
Open
Open
SVG and canvas tutorial
#100
Copy link
Labels
help wanted
new tutorial
Description
despo
Issue body actions
No description provided.
Activity
despo
added
help-wanted
on Jul 1, 2014
despo
assigned
rowanmanning
on Jul 2, 2014
despo
unassigned
rowanmanning
on May 6, 2015
brunogirin commented
on Dec 1, 2018
brunogirin
Contributor
More actions
Here's a suggested plan for SVG:
Lesson 1 - Introducing SVG
Quick intro to image formats: vector vs raster
Tools: same tools as HTML, show dev tools
SVG tag
Standalone
Embedded in HTML
Shapes
line
rect
circle
ellipse
polygon
text + tspan: differences with HTML text, no wrap
Ordering (no Z attribute)
Styling SVG with CSS
fill (and how it applies to text)
stroke (and how it applies to text)
Lesson 2 - Path
Polyline
Path
Move
Line (L, H, V)
Arc
Quadratic (Q, T)
Cubic (C, S)
Close path (Z)
Fill rule
Nonzero
Evenodd
Lesson 3 - Groups and Transforms
Groups (g)
Transforms
Translate
Rotate
Scale
skewX + skewY
Matrix
Lesson 4 - Advanced SVG
Image
Colours
Gradients
Styling text
Stroke, fill, etc
textPath
docs
Markers
Animations
Viewbox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Metadata
Metadata
Assignees
No one assigned
Labels
help wanted
new tutorial
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions
Open in GitHub Copilot app
You can’t perform that action at this time.
⌂ Proxy
Activity
brunogirin commentedon Dec 1, 2018
Here's a suggested plan for SVG:
Lesson 1 - Introducing SVG
Lesson 2 - Path
Lesson 3 - Groups and Transforms
Lesson 4 - Advanced SVG