The creator of Photopea apparently doesn't like scrapers, so it blocked my script access. Going to have to find another way to download it.

This commit is contained in:
DUOLabs333
2021-03-17 18:48:45 -04:00
parent 520766bc0e
commit 80894dbd6e
170 changed files with 76412 additions and 3256 deletions
+154 -32
View File
@@ -1,33 +1,155 @@
<HTML>
<HEAD>
<TITLE>404 Not Found</TITLE>
<BASE href="/error_docs/"><!--[if lte IE 6]></BASE><![endif]-->
</HEAD>
<BODY>
<H1>Not Found</H1>
The requested document was not found on this server.
<P>
<HR>
<ADDRESS>
Web Server at photopea.com
</ADDRESS>
</BODY>
</HTML>
<!--
- Unfortunately, Microsoft has added a clever new
- "feature" to Internet Explorer. If the text of
- an error's message is "too small", specifically
- less than 512 bytes, Internet Explorer returns
- its own error message. You can turn that off,
- but it's pretty tricky to find switch called
- "smart error messages". That means, of course,
- that short error messages are censored by default.
- IIS always returns error messages that are long
- enough to make Internet Explorer happy. The
- workaround is pretty simple: pad the error
- message with a big comment like this to push it
- over the five hundred and twelve bytes minimum.
- Of course, that's exactly what you're reading
- right now.
-->
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0" />
<title>Photopea - Creating Shapes</title>
<link rel="stylesheet" href="https://blog.photopea.com/wp-content/themes/simplex/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" />
</head>
<body>
<div id="page">
<div id="header">
<a href="//www.photopea.com/learn/" class="title">Learn Photopea</a>
<!--<p>Web-based image editor.</p>-->
<a href="//blog.photopea.com">Blog</a> |
<a class="curr" href="//www.photopea.com/learn">Learn</a> |
<a href="//www.photopea.com/tuts">Tutorials</a> |
<a href="//www.photopea.com/templates">Templates</a> |
<a href="//www.photopea.com/api">API</a> |
<a href="//www.facebook.com/photopea"><img src="//photopea.com/img/facebook.svg" /></a> |
<a href="//www.twitter.com/photopeacom"><img src="//photopea.com/img/twitter.svg" /></a>
</div>
<div id="main" style="max-width:1000px;">
<div id="sidebar" style="width:22%;">
<h3>Topics</h3>
<ul>
<li class="lvl0"><a href="/learn/">Introduction</a></li>
<li class="lvl0"><a href="/learn/workspace">Workspace</a></li>
<li class="lvl1"><a href="/learn/opening-saving">Open and Save</a></li>
<li class="lvl1"><a href="/learn/navigation">Navigation</a></li>
<li class="lvl1"><a href="/learn/image-size">Image size</a></li>
<li class="lvl0"><a href="/learn/layers">Layers</a></li>
<li class="lvl1"><a href="/learn/masks">Masks</a></li>
<li class="lvl1"><a href="/learn/layer-styles">Layer Styles</a></li>
<li class="lvl1"><a href="/learn/smart-objects">Smart Objects</a></li>
<li class="lvl1"><a href="/learn/other-layers">Other Layers</a></li>
<li class="lvl0"><a href="/learn/layer-manipulation">Layer Editing</a></li>
<li class="lvl1"><a href="/learn/free-transform">Free Transform</a></li>
<li class="lvl1"><a href="/learn/adjustments-filters">Adjust. &amp; Filters</a></li>
<li class="lvl0"><a href="/learn/selections">Selections</a></li>
<li class="lvl1"><a href="/learn/creating-selections">Make Selections</a></li>
<li class="lvl1"><a href="/learn/advanced-selecting">Advanced Selecting</a></li>
<li class="lvl1"><a href="/learn/refine-edge">Refine Edge</a></li>
<li class="lvl1"><a href="/learn/moving-selected-data">Move Selected Data</a></li>
<li class="lvl0"><a href="/learn/brush-tools">Brush Tools</a></li>
<li class="lvl1"><a href="/learn/bt-basic">Basic Tools</a></li>
<li class="lvl1"><a href="/learn/bt-advanced">Advanced Tools</a></li>
<li class="lvl1"><a href="/learn/bt-smart">Smart Tools</a></li>
<li class="lvl0"><a href="/learn/text">Text</a></li>
<li class="lvl1"><a href="/learn/text-style">Text Style</a></li>
<li class="lvl0"><a href="/learn/vector-graphics">Vector Graphics</a></li>
<li class="lvl1"><a href="/learn/vg-structure">The Structure</a></li>
<li class="lvl1"><a href="/learn/vg-manipulation">Editing Shapes</a></li>
<li class="lvl1 active"><a href="/learn/vg-creating">Creating Shapes</a></li>
<li class="lvl1"><a href="/learn/vg-vectorize">Vectorize Bitmap</a></li>
<li class="lvl0"><a href="/learn/other">Other</a></li>
<li class="lvl1"><a href="/learn/color-spaces">Color Spaces</a></li>
<li class="lvl1"><a href="/learn/guides-grid-snapping">Guides &amp; Snapping</a></li>
<li class="lvl1"><a href="/learn/animations">Animations</a></li>
<li class="lvl1"><a href="/learn/slices">Slices</a></li>
<li class="lvl1"><a href="/learn/layer-comps">Layer Comps</a></li>
<li class="lvl1"><a href="/learn/actions">Actions</a></li>
<li class="lvl1"><a href="/learn/scripts">Scripts</a></li>
</ul>
</div>
<div id="content" style="width:78%;">
<div class="post">
<h1>Creating shapes</h1>
<p>Photopea offers several tools for creating vector graphics: Pen, Free Pen, Rectangle, Ellipse, Polygon etc..
Each tool has one of three modes, which you can switch in the top menu.</p>
<img src="//i.imgur.com/tndO7TS.png" />
<ul>
<li><b>Path</b> - adds new elements into a current path (current Shape layer, Vector Mask, or into a current path, selected in Paths panel)</li>
<li><b>Shape</b> - creates a new Shape layer</li>
<li><b>Pixels</b> - the result is rasterized immediately, then combined with a current raster layer</li>
</ul>
<p>When you choose the Path mode, you can also choose the boolean operation, that will be used for new elements.</p>
<h2><img class="inline" src="//www.photopea.com/img/tools/pen.png" />Pen</h2>
<p>This tool allows you to create paths knot - by - knot. Press the mouse in the image area to add a knot.
Then drag and release to add handles, or release immediately to keep handles collapsed.
Clicking again on the first knot in the path will close the path. Try <a href="//bezier.method.ac/">This Game</a> to learn how to use the Pen tool.</p>
<p>If there is one knot already selected, the new knot is added right after that knot (into the same path).
Otherwise, the new path is started, and the knot becomes the first knot in the new path.</p>
<p>The regular usage is to click to start a new path, then keep clicking to add more knots
(since each new knot is selected after adding, so the next knot is added right after it).
But you can also select some knot manually (with Direct Select) and new knots will be added after it (into an existing path).</p>
<h2><img class="inline" src="//www.photopea.com/img/tools/fpen.png" />Free Pen</h2>
<p>Click with mouse and draw some shape. Then, release the mouse. Your stroke will be converted into a smooth vector curve.
Change the Tolerance value to make a curve smoother.</p>
<h2>
<img class="inline" src="//www.photopea.com/img/tools/rect.png" />
<img class="inline" src="//www.photopea.com/img/tools/ellipse.png" />
<img class="inline" src="//www.photopea.com/img/tools/line.png" />
Specific shapes</h2>
<p>Click and drag with a mouse to draw a path with the specific geometric shape. Hold Shift to keep the proportions of the new path.</p>
<h2>
<img class="inline" src="//www.photopea.com/img/tools/cshape.png" />Custom shape</h2>
<p>With this tool, you can add a complex shape from the current gallery of shapes.
You can import your own collections of shapes in a CSH format using File - Open.</p>
<h2>
<img class="inline" src="//www.photopea.com/img/tools/pshape.png" />
Parametric Shape</h2>
<p>This tool can draw other exotic shapes, which require some parameters. You can draw <b>a Polygon, a Star, a Spiral</b> and possibly many other shapes in the future.
Each shape has several parameters, which allow you to customize the shape.</p>
<h2>Text to Shape</h2>
<p>You can convert any text layer into a vector shape layer by right-clicking it (in Layers panel) and pressing <b>Convert to Shape</b>.
Each character will become a path with knots, which you can modify manually (e.g. rotate each character by a random angle).</p>
</div>
<h2 style="margin-top: 4em">Comments</h2>
<p>Do you need help? Ask us at <a href="//www.reddit.com/r/photopea/" target="_blank">our Reddit</a>!</p>
<div id="disqus_thread"></div>
<script>
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://learn-photopea.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
</div>
</div>
<div id="footer">&copy; 2013-2021 support@photopea.com</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-4249565-43', 'auto'); ga('send', 'pageview');
</script>
</div>
</html>