serial-web-test
paddle-game
serial-web-test | paddle-game | |
---|---|---|
5 | 8 | |
2 | 1 | |
- | - | |
3.8 | 3.8 | |
over 2 years ago | over 2 years ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
serial-web-test
-
Exploring Web Serial
Have started digging into web serial more, I think this post will be the first in a series around this topic. The code I refer to in the article is here. I'm really enjoying and gradually discovering some similar "exploratory" projects. Has anyone here had a chance to use this or similar APIs?
- Study of the Web Serial API using Raspberry Pi Pico and Web Audio
-
Demo of controlling web audio with physical inputs using web serial [link in comments]
Project code on github. Please excuse the noise, but I was interested in getting some varied shapes in the oscillators along with some distinctive sounds for the demonstration. There are two potentiometers, one of which I'm controlling. The input is read by the Raspberry Pico's ADCs, converted to serial, then received by web serial, and used to control two web audio oscillators.
paddle-game
-
I wrote a 1980s-arcade-style invaders game to fulfill a childhood dream
Web Serial API would also mean one could create an Atari-style paddle controller to go with this game, kind of like this project: https://github.com/drohen/paddle-game
-
Recommendations?
Once you get a bit of experience, have a go at building this: https://github.com/drohen/paddle-game it is something I put together in my spare time in a week, you might have fun replicating it.
-
My study of physical interfaces for the web, making something simple/using constraints as a learning exercise - electroplankton meets the atari paddle controller. [More info in comments]
I have a bunch of notes and the code is available on github. Feel free to ask any questions!
-
Demonstration of how its now possible to connect custom physical interfaces to web browser-based interactive games / instruments / installations [code / info in comments]
The repo is on github, and I've added a bunch of notes on how it all works. Feel free to get in touch if you have any questions.
-
Web audio music toy controlled via web serial using a custom input device based on the classic paddle controller. Tutorial coming soon. [More info in comments]
I recently completed a one week personal challenge to build something interesting using just a potentiometer and button. I am learning more about the web serial api, and decided to connect these components to a pico, read the values and send it to a web app. I wanted to build something fun and music, so I created this elektroplankton-inspired game at the same time. The code is available, open source, along with the live app. I will update the documentation shortly. The code for the pico is also available, and can be adapted to an arduino or whatever. Considering how easy and fun this was, I'm hopeful that the web serial api is here to stay.
-
Challenge (almost) completed - photos of the final hardware build. A hacked together paddle-style controller set for the the raspberry pico. Connects one controller to one ADC using a stereo audio cable. Also, an interface for 3 controllers, to use all ADC pins. [More info in comments]
I think that this project could just as easily work with an arduino uno, and of course, the code could easily be adapted. I only have a few final things I need to do in the app before I feel like I can say this is completed and move on to writing a full reflection and possibly a guide on how I did this. The code for the app and the pico is available on github, I will update all the readme and code comments to make it easier to follow along. I'll post a video as well demonstrating it all working.
-
Challenge Day 1 - creating a browser app AND a custom controller in a week. The controller design will be based on the Atari "paddle" and the app is inspired by Nintendo's Elektroplankton. This is a video of the proof of concept of the app I built today.
I created challenge for the Raspberry Pico subreddit to try and build something out of a potentiometer and button. And my idea is summarised in the title of this post. This is the code but as of this post it isn't presented super well, just wanted to finish the proof of concept before creating more structure. I'm using a bunch of nice little utility libraries, and ToneJS. The plan is to connect the app to my custom controller using the Web Serial API.
What are some alternatives?
LibSerialPort.jl - Julia wrapper for the libserialport c library
invaders - A 1980s-arcade-style game written using HTML5, Canvas, and Web Audio
ts-playground - :computer: Opensource and free resource to learn and practice TypeScript skills. Tutorials, code snippets and sample applications.
Invaders - Invaders game in 512 bytes (boot sector)
MidiToys - Make visuals with MIDI Input
rp2040js - A Raspberry Pi Pico Emulator in JavaScript
uniswap-v3-token-swap - example code of uniswapV3 token swaps with hardhat and ethersjs
drumhaus - A browser controlled rhythmic groove machine.
wokwi-features - Wokwi Feature requests & Bug Reports
ckeditor-angular-example - A very small example project which shows how you can use Ck editor with Angular version 13.3.0.
invaders - Retro space invaders game for my website