Skip to content

Commit

Permalink
Merge pull request #7 from sambourgault/patch-1
Browse files Browse the repository at this point in the history
fixing some typos on the quick-start page
  • Loading branch information
ojack authored Apr 12, 2024
2 parents babccf8 + 55147e5 commit 3a39e2e
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions content/docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,47 +5,45 @@ author: "Flor and Olivia"
weight: 1
---
# hello world
start writing code in hydra! to get started:
1. Go to https://hydra.ojack.xyz
Start writing code in hydra! to get started:
1. Go to https://hydra.ojack.xyz.

2. Close the top window by clicking the `[x]` in the top right.

3. Change some numbers
3. Change some numbers.

4. Type "ctrl+shift+enter" to run the code (or use the triangle run button)
4. Type `ctrl+shift+enter` to run the code (or use the triangle run button on the top right corner).

5. have fun! there is no "wrong" way to code in hydra :]
5. Have fun! There is no "wrong" way to code in hydra :]


![](https://i.imgur.com/ZfgVjJZ.gif)

<!-- ## Play with gallery examples
The simplest way to get started with hydra is to play around with the example sketches in the [web editor](https://hydra.ojack.xyz/).
To get started, open the the [hydra web editor](https://hydra.ojack.xyz/) in a separate window. Close the top window by clicking the [x] in the top right.
To get started, open the [hydra web editor](https://hydra.ojack.xyz/) in a separate window. Close the top window by clicking the [x] on the top right.
You will see some colorful visuals in the background with text on top. The text is code that generates the visuals behind it.
You can change the hydra sketch shown on the screen by clicking the shuffle button.
## Change some numbers
Change values that appears on Hydra web editor at the sketch examples to see what happens.
Values can have decimal numbers, is recommended not using big values inside the parentheses. Numbers must be **inside** the parentheses.
Every Hydra code starts by generating an input signal source and ends with an output buffer. Adding a value inside or after `.out()` **won't** work.
Change values that appear on [hydra web editor](https://hydra.ojack.xyz/) at the sketch examples to see what happens.
Values can have decimal numbers, it is recommended not to use big values inside the parentheses. Numbers must be **inside** the parentheses.
Every hydra code starts by generating an input signal source and ends with an output buffer. Adding a value inside or after `.out()` **won't** work.
```javascript
osc(10,0.1,0.5).color(1,0.895,0.55).out()
```
## Run your code
Use the triangle "run" button to run your code.
Use the triangle "run" button on the top right corner of the page to run your code.
Hint: you can also run the code by typing `ctrl+shift+enter`.
## Have fun!
:) -->

## Next steps
For more a more in-depth introductions see [Getting Started: video synth basics](../learning/getting-started). For an overview of available guides and resources, see [learning](../learning).
For a more in-depth introduction, see [Getting Started: video synth basics](../learning/getting-started). For an overview of available guides and resources, see [learning](../learning).

0 comments on commit 3a39e2e

Please sign in to comment.