Head to editor.p5js.org to get started.
<script src="https://unpkg.com/ml5@1/dist/ml5.js"></script>Head to editor.p5js.org to get started.
<script src="https://unpkg.com/ml5@1/dist/ml5.js"></script>| ### This is very hacky and jank but I made it for a bit of fun! | |
| import openai | |
| def generateNextParagraph(previous_with_choices, past, choice): | |
| completion = openai.ChatCompletion.create( | |
| model="gpt-3.5-turbo", | |
| messages=[{"role": "user", "content": f""" | |
| {previous_with_choices} | |
| <tournament name="What The Pwaa!" short="What The Pwaa!"><round name="Round 1" abbreviation="R1" elimination="false" feedback-weight="0.0"><debate id="D58" adjudicators="A265" chair="A265" venue="V29" motion="M8"><side team="T30"><ballot adjudicators="A265" minority="false" ignored="false" rank="1">48.0</ballot><speech speaker="S106" reply="False"><ballot adjudicators="A265">16.0</ballot></speech><speech speaker="S107" reply="False"><ballot adjudicators="A265">16.0</ballot></speech><speech speaker="S105" reply="False"><ballot adjudicators="A265">16.0</ballot></speech></side><side team="T48"><ballot adjudicators="A265" minority="false" ignored="false" rank="2">47.0</ballot><speech speaker="S161" reply="False"><ballot adjudicators="A265">14.0</ballot></speech><speech speaker="S159" reply="False"><ballot adjudicators="A265">16.0</ballot></speech><speech speaker="S160" reply="False"><ballot adjudicators="A265">17.0</ballot></speech></side></debate><debate id="D61" adjudicators="A200" chair="A200" venue="V19" moti |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Response> | |
| <Play>https://raw.githubusercontent.com/hackclub/hackclub/master/workshops/rick_roll/never-gonna-give-you-up.mp3</Play> | |
| </Response> |
| import array | |
| import math | |
| import time | |
| import audiobusio | |
| import board |
| [ | |
| { | |
| "name": "g", | |
| "title": "Github", | |
| "description": "All of my open-source and personal work", | |
| "public": true, | |
| "url": "https://github.com/rishiosaur" | |
| }, | |
| { | |
| "name": "t", |
| /* @keyframes rainbow { | |
| 14% { | |
| color: #ff0000; | |
| } | |
| 28% { | |
| color: #ffa500; | |
| } | |
| 42% { | |
| color: #ffff00; | |
| } |
| /* @keyframes rainbow { | |
| 14% { | |
| color: #ff0000; | |
| } | |
| 28% { | |
| color: #ffa500; | |
| } | |
| 42% { | |
| color: #ffff00; | |
| } |
| body{ | |
| background-color:black; | |
| } | |
| @-webkit-keyframes headShake { | |
| 0% { | |
| -webkit-transform: translateX(0); | |
| transform: translateX(0); | |
| } |