forked from processing-js/processing-js
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added fix for lineTo and moveTo [processing-js#137] [processing-js#149…
- Loading branch information
Showing
7 changed files
with
543 additions
and
14 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head runat="server"> | ||
<title>Processing.js SVG LoadImage() girlDriving.svg</title> | ||
<script type="text/javascript" src="../../../processing.js"></script> | ||
<script type="text/javascript" src="../../init.js"></script> | ||
|
||
</head> | ||
<body> | ||
|
||
|
||
<script id="script" type="application/processing"> | ||
PShape s; | ||
|
||
void setup() { | ||
size(800,500); | ||
s = loadShape("girlDriving.svg"); | ||
smooth(); | ||
noLoop(); | ||
} | ||
|
||
void draw() { | ||
shape(s); | ||
} | ||
</script><canvas id="display" ></canvas> | ||
<div> The actual shape: <img src="girlDriving.jpg"></div> | ||
</div> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters