Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Draw a sketch
ResourceFunction["DrawSketch"][object] draws a sketch of the specified object. | |
ResourceFunction["DrawSketch"][object,temp] uses temperature temp to regulate sampling. | |
ResourceFunction["DrawSketch"][object,temp,len] restricts the drawing to a length of len. |
Draw a sketch of a toothbrush:
In[1]:= | ![]() |
Out[1]= | ![]() |
Draw three bicycles:
In[2]:= | ![]() |
Out[2]= | ![]() |
Increase the temperature to add variability, often at the cost of decreased quality:
In[3]:= | ![]() |
Out[3]= | ![]() |
Limit the number of strokes to different values:
In[4]:= | ![]() |
Out[4]= | ![]() |
See all available objects:
In[5]:= | ![]() |
Out[5]= | ![]() |
Using zero temperature produces the same sketch each time:
In[6]:= | ![]() |
Out[6]= | ![]() |
Create a function which displays an animation showing the object being drawn from the sequence of pen strokes chosen by the network:
In[7]:= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License