<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=3D_Patterns</id>
	<title>3D Patterns - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=3D_Patterns"/>
	<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=3D_Patterns&amp;action=history"/>
	<updated>2026-05-20T07:08:19Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=3D_Patterns&amp;diff=30275&amp;oldid=prev</id>
		<title>Patarakin в 08:51, 1 июля 2025</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=3D_Patterns&amp;diff=30275&amp;oldid=prev"/>
		<updated>2025-07-01T08:51:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 11:51, 1 июля 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Строка 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{expand|article|date=December 2017}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This tutorial explains how to make &amp;#039;&amp;#039;&amp;#039;3-dimensional patterns&amp;#039;&amp;#039;&amp;#039; in Scratch.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This tutorial explains how to make &amp;#039;&amp;#039;&amp;#039;3-dimensional patterns&amp;#039;&amp;#039;&amp;#039; in Scratch.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key digida:diff:1.41:old-1706:rev-30275:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Patarakin</name></author>
	</entry>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=3D_Patterns&amp;diff=1706&amp;oldid=prev</id>
		<title>Patarakin: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=3D_Patterns&amp;diff=1706&amp;oldid=prev"/>
		<updated>2022-07-21T08:33:14Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 11:33, 21 июля 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key digida:diff:1.41:old-1705:rev-1706 --&gt;
&lt;/table&gt;</summary>
		<author><name>Patarakin</name></author>
	</entry>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=3D_Patterns&amp;diff=1705&amp;oldid=prev</id>
		<title>scratch&gt;TheTrillion: Bolded the first mention of the article name.</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=3D_Patterns&amp;diff=1705&amp;oldid=prev"/>
		<updated>2021-05-20T20:26:57Z</updated>

		<summary type="html">&lt;p&gt;Bolded the first mention of the article name.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{expand|article|date=December 2017}}&lt;br /&gt;
This tutorial explains how to make &amp;#039;&amp;#039;&amp;#039;3-dimensional patterns&amp;#039;&amp;#039;&amp;#039; in Scratch.&lt;br /&gt;
&lt;br /&gt;
== How Does 3D Work in Scratch? ==&lt;br /&gt;
[[Scratch]] is mostly intended for 2D projects, but it is possible to create a 3D effect with Scratch. This can be done by projecting a point that uses the dimensions x, y, and z to find its position. To do this, pen blocks and custom blocks have to be used.&lt;br /&gt;
&lt;br /&gt;
== Making the Main Script ==&lt;br /&gt;
First of all, make some custom blocks as follows:&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define Reset&lt;br /&gt;
define Draw&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Afterwards, make this script,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
when green flag clicked&lt;br /&gt;
set pen (color v) to (pick random (1) to (100))&lt;br /&gt;
Reset :: custom&lt;br /&gt;
forever&lt;br /&gt;
erase all&lt;br /&gt;
Draw :: custom&lt;br /&gt;
change [delta v] by (1)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The script above is the loop that will start everything up in the project.&lt;br /&gt;
&lt;br /&gt;
=== Getting the Variables Ready ===&lt;br /&gt;
&lt;br /&gt;
Next, get the variables ready. In the &amp;lt;sb&amp;gt;Reset :: custom&amp;lt;/sb&amp;gt; custom block, make this script:&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define Reset&lt;br /&gt;
set [angle v] to [0]&lt;br /&gt;
set [A v] to [220]&lt;br /&gt;
set [B v] to [160]&lt;br /&gt;
set [r1 v] to (pick random (1) to (100))&lt;br /&gt;
set [r2 v] to (pick random (1) to (100))&lt;br /&gt;
set [delta v] to (pick random (1) to (90))&lt;br /&gt;
go to x: ((A) * ([sin v] of (((angle) * (r1)) + (delta)))) y: ((B) * ([cos v] of (((angle) * (r2)) + (delta)))&lt;br /&gt;
pen down&lt;br /&gt;
set pen size to (50)&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Reset block will also make a pattern, so it will be useful.&lt;br /&gt;
{{note|For easier access, make the r1 and r2 variables sliders.}}&lt;br /&gt;
&lt;br /&gt;
=== Creating the Draw Script ===&lt;br /&gt;
Next, make the code for the &amp;lt;sb&amp;gt;Draw :: custom&amp;lt;/sb&amp;gt; custom block. This block will be more complicated.&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define Draw&lt;br /&gt;
show&lt;br /&gt;
erase all&lt;br /&gt;
pen down&lt;br /&gt;
repeat (360)&lt;br /&gt;
go to x: ((A) * ([sin v] of (((angle) * (r1)) + (delta)))) y: ((B) * ([cos v] of ((angle) * (r2))&lt;br /&gt;
set pen size to ([abs v] of ((((1000) - ((A) * ([sin v] of (((angle) * (r1)) + (delta))))) - ((B) * ([cos v] of ((angle) * (r2))))) / (150)))&lt;br /&gt;
set pen (brightness v) to ((-0.5) * (((A) * ([sin v] of (((angle) * (r1)) + (delta)))) - ((B) * ([cos v] of ((angle) * (r2))))&lt;br /&gt;
change [angle v] by (1)&lt;br /&gt;
move (10) steps&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Project ==&lt;br /&gt;
&lt;br /&gt;
* [[projects:187961151|3D Pattern Drawer]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Tutorials]]&lt;/div&gt;</summary>
		<author><name>scratch&gt;TheTrillion</name></author>
	</entry>
</feed>