# Sharing just the sketch?

**URL:** https://discourse.processing.org/t/sharing-just-the-sketch/33667
**Category:** Beginners
**Created:** [November 22, 2021, 3:45pm UTC](https://discourse.processing.org/t/sharing-just-the-sketch/33667 "2021-11-22T15:45:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Timo](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@Timo](https://discourse.processing.org/u/Timo)
#### Post date: [November 22, 2021, 3:45pm UTC](https://discourse.processing.org/t/sharing-just-the-sketch/33667/1 "2021-11-22T15:45:08Z")

</div>

Hi , this is a very basic question. I was using p5js web editor to experiment on my sketches . However there is a lot of code written on a trial or error basis . Is there a way to just share the sketch ? I think with the share button you also share the code .

T

---

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [November 22, 2021, 6:02pm UTC](https://discourse.processing.org/t/sharing-just-the-sketch/33667/2 "2021-11-22T18:02:45Z")

</div>

> [@Timo](#):
>
> Is there a way to just share the sketch?

By _share_ they mean having a link where other folks can see your sketch in action and if they wish they could fork it as well.

> [@Timo](#):
>
> I think with the share button you also share the code.

If by _share_ you mean allowing other folks to be able to edit your sketch you may try out [http://p5js.SketchPad.cc](http://p5js.SketchPad.cc).

Another option is having a GitHub repo where folks may pull code changes if you allow them.

---

<div class="post-metadata">

### Author: ![Timo](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@Timo](https://discourse.processing.org/u/Timo)
#### Post date: [November 22, 2021, 7:11pm UTC](https://discourse.processing.org/t/sharing-just-the-sketch/33667/3 "2021-11-22T19:11:14Z")

</div>

Hi @GoToLoop

yes by share i meant one gets the link of just the sketch, yes the sketch in action (kind of like in the present mode) but should not be able to view or make changes to the code.

---

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [November 22, 2021, 7:26pm UTC](https://discourse.processing.org/t/sharing-just-the-sketch/33667/4 "2021-11-22T19:26:20Z")

</div>

> [@Timo](#):
>
> … but should not be able to view or make changes to the code.

I don’t believe such p5js sites are able to show the sketch w/o revealing its source code.

Most you can do is minifying the code so it’s hard to read it.

---

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [November 23, 2021, 11:02am UTC](https://discourse.processing.org/t/sharing-just-the-sketch/33667/5 "2021-11-23T11:02:20Z")

</div>

Hello,

This Google search will bring up some interesting web pages on this topic:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/9/9d46a515b9a5dfa3514b83ce2c1d5c1dcc3d232b.png)

> **[Obfuscation (software)](https://en.wikipedia.org/wiki/Obfuscation_(software))**
>
> In software development, obfuscation is the deliberate act of creating source or machine code that is difficult for humans to understand. Like obfuscation in natural language, it may use needlessly roundabout expressions to compose statements. Programmers may deliberately obfuscate code to conceal its purpose (security through obscurity) or its logic or implicit values embedded in it, primarily, in order to prevent tampering, deter reverse engineering, or even to create a puzzle or recreation...

`:)`
