Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptCollection
/
paper.js
Public
forked from
paperjs/paper.js
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
paper.js
src
core
PaperScope.js
on
master
User selector
All users
All time
Commit history
Commits on Sep 23, 2013
Have paper.install() override existing definitions.
Show description for 9c98ef8
lehni
committed
9c98ef8
View commit details
Copy full SHA for 9c98ef8
View code at this point
Browse repository at this point
Commits on Jul 19, 2013
Define PaperScope#activate()
Show description for 6e1c892
lehni
committed
6e1c892
View commit details
Copy full SHA for 6e1c892
View code at this point
Browse repository at this point
Commits on Jun 24, 2013
Expose nativeBlendModes and amend BlendModes example with information about the use of native modes.
lehni
committed
c6e5037
View commit details
Copy full SHA for c6e5037
View code at this point
Browse repository at this point
Refactor PaperScript code so it can be moved outside of main paper scope.
Show description for 4b53d55
lehni
committed
4b53d55
View commit details
Copy full SHA for 4b53d55
View code at this point
Browse repository at this point
Move PaperScript.get/setAttribute() to PaperScope.
lehni
committed
fa3f91a
View commit details
Copy full SHA for fa3f91a
View code at this point
Browse repository at this point
Bring back _class names, since code minification breaks reliance on constructor.name.
Show description for a4535ed
lehni
committed
a4535ed
View commit details
Copy full SHA for a4535ed
View code at this point
Browse repository at this point
Commits on Jun 18, 2013
Add support for direct drawing of native blendModes for items that allow it.
Show description for 75acdf1
lehni
committed
75acdf1
View commit details
Copy full SHA for 75acdf1
View code at this point
Browse repository at this point
Commits on Jun 17, 2013
Remove trailing comma.
lehni
committed
1b42822
View commit details
Copy full SHA for 1b42822
View code at this point
Browse repository at this point
Rename nativeDash to dash.
lehni
committed
ab2bfe2
View commit details
Copy full SHA for ab2bfe2
View code at this point
Browse repository at this point
Commits on May 28, 2013
Accessors cannot define the writable property.
lehni
committed
70d6050
View commit details
Copy full SHA for 70d6050
View code at this point
Browse repository at this point
Commits on May 27, 2013
Switch to using common string format for paper.version (major.minor.build)
lehni
committed
6ac5463
View commit details
Copy full SHA for 6ac5463
View code at this point
Browse repository at this point
Implement a better way to name and export class constructors.
Show description for 10d5de3
lehni
committed
10d5de3
View commit details
Copy full SHA for 10d5de3
View code at this point
Browse repository at this point
Commits on Feb 15, 2013
Reuse scopes associated with canvases to support multiple scripts per canvas.
Show description for 24a5016
lehni
committed
24a5016
View commit details
Copy full SHA for 24a5016
View code at this point
Browse repository at this point
Commits on Feb 13, 2013
Define CanvasProvider.getContext() next to getCanvas(), and support both types in release().
lehni
committed
ca3cc7f
View commit details
Copy full SHA for ca3cc7f
View code at this point
Browse repository at this point
Commits on Feb 12, 2013
Support CanvasProvider.get(width, height) arguments.
lehni
committed
51150cb
View commit details
Copy full SHA for 51150cb
View code at this point
Browse repository at this point
Shorten CanvasProvider method names.
lehni
committed
357b7db
View commit details
Copy full SHA for 357b7db
View code at this point
Browse repository at this point
Implement support for native dash strokes, through both setLineDash() and mozDash.
lehni
committed
24d467e
View commit details
Copy full SHA for 24d467e
View code at this point
Browse repository at this point
Commits on Feb 9, 2013
Do not export paper.load() any more.
Show description for bd62b4b
lehni
committed
bd62b4b
View commit details
Copy full SHA for bd62b4b
View code at this point
Browse repository at this point
Commits on Jan 29, 2013
Update copyright information comments, and year.
lehni
committed
6c9c16a
View commit details
Copy full SHA for 6c9c16a
View code at this point
Browse repository at this point
Commits on Nov 21, 2012
Handle case where no project is created through execution errors.
lehni
committed
1e744e3
View commit details
Copy full SHA for 1e744e3
View code at this point
Browse repository at this point
Commits on Nov 14, 2012
Expose Palettes through PaperScope#palettes.
lehni
committed
3fe936a
View commit details
Copy full SHA for 3fe936a
View code at this point
Browse repository at this point
Commits on Oct 1, 2012
Clean up code.
lehni
committed
b29995f
View commit details
Copy full SHA for b29995f
View code at this point
Browse repository at this point
Commits on Dec 27, 2011
Implement PaperScope#tool accessor.
Show description for 6e3cef6
lehni
committed
6e3cef6
View commit details
Copy full SHA for 6e3cef6
View code at this point
Browse repository at this point
Commits on Nov 12, 2011
Remove global views list, link View to Project and allow projects to only have one view.
lehni
committed
719ae23
View commit details
Copy full SHA for 719ae23
View code at this point
Browse repository at this point
Commits on Aug 1, 2011
Some documentation fixes for v0.2
lehni
committed
022de4d
View commit details
Copy full SHA for 022de4d
View code at this point
Browse repository at this point
Remove debug log.
lehni
committed
ea629fe
View commit details
Copy full SHA for ea629fe
View code at this point
Browse repository at this point
Fix PaperScope#install() so classes actually get injected.
lehni
committed
14895f4
View commit details
Copy full SHA for 14895f4
View code at this point
Browse repository at this point
Change PaperScope#install() to be clever about project, view and tool references and link them through a getter to their current state in PaperScope.
lehni
committed
8cdc5ea
View commit details
Copy full SHA for 8cdc5ea
View code at this point
Browse repository at this point
Revert back to PaperScope#setup() and keep #initialize0 simple.
lehni
committed
6b6d590
View commit details
Copy full SHA for 6b6d590
View code at this point
Browse repository at this point
Only create an empty Project for a PaperScope if a canvas was provided for it.
lehni
committed
c6cf4f9
View commit details
Copy full SHA for c6cf4f9
View code at this point
Browse repository at this point
Commits on Jul 27, 2011
Improve documentation for PaperScope.
lehni
committed
1519a1d
View commit details
Copy full SHA for 1519a1d
View code at this point
Browse repository at this point
Simplify the way PaperScope objects are created and linked to Canvas elements, in order to facilitate usage through plain JavaScript.
lehni
committed
297aef6
View commit details
Copy full SHA for 297aef6
View code at this point
Browse repository at this point
Fix link to global paper variable.
lehni
committed
c6525ec
View commit details
Copy full SHA for c6525ec
View code at this point
Browse repository at this point
Commits on Jul 26, 2011
Remove filepp.pl as preprocessor and switch to our own Prepro.js, a simple preprocesssor for JavaScript that speaks JavaScript, written in JavaScript, allowing preprocessing to either happen at bui…
Show description for 8eaeb7f
lehni
committed
8eaeb7f
View commit details
Copy full SHA for 8eaeb7f
View code at this point
Browse repository at this point
Commits on Jul 24, 2011
Clean up and separate PaperScript documetation from JavaScript related classes. Work in progress.
lehni
committed
43cc8e4
View commit details
Copy full SHA for 43cc8e4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.