• Stars
    star
    393
  • Rank 109,518 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pretty images and colours

0x40-web

A fairly complete HTML5/CSS3 Canvas + Web Audio clone of the 0x40 Hues Flash.

Should work on most modern browsers.

Example pages:

Default Hues

420 Hues

Halloween Hues

Christmas Hues

You can also have animations that sync perfectly with the beats of the songs. Inspired by Kepstin's Integral experiments.
420 Hues, Snoop Edition

"Montegral"

More Cowbell

For some examples of fast, complicated and fancy maps, here are some of my personal creations:
Black Banshee - BIOS
Drop It
Atols - Eden (buildup only)
AAAA - Hop Step Adventure
ใƒŸใƒฅใƒณใƒปใƒ•ใ‚กใƒณใƒปใƒญใƒผใƒณ - MACROSS 82-99
MDK - Press Start (VIP Mix)
Alex Centra - Roguebot [Inspected]
Elenne - Vertical Smoke
Nicky Flower - Wii Shop Channel (Remix)
Nhato - Logos

Finally there's these, which hook into the Hues javascript events to do something fresh:
Doors
Does Lewis Have A Girlfriend Yet (xox love ya)

Creating your own songs

0x40 Hues comes with an integrated editor to create new songs and inspect existing ones. Read how to use it here - it's easier than you think!

Editing respacks

There is an extremely basic respack editor at respack_edit.html. I also host it on my site. It does not support adding images, nor does it support adding songs. You can, however, edit all properties of an existing respack's songs and images. If this is lacking features you would like, please open a ticket. It was mostly made for editing centerPixel values.

Install (Make your own Hues website)

  1. Start by downloading the latest release. These are minified and load faster.
  2. Put your respack zips somewhere they can be found by your web server. My hues have a respacks/ folder under the main directory.
  3. Edit index.html:
  4. If your html is in a different location to your lib folder: * Edit workersPath to point to the correct (relative) location.
  5. Edit the defaults object so the respacks list contains the respacks you wish to load.
  6. Optional: Add any extra settings to the defaults object.
  7. Upload everything to your server!

Example settings

var defaults = {
    workersPath : "lib/workers/",
    respacks : ["./respacks/Defaults_v5.0_Opaque.zip", 
                "./respacks/HuesMixA.zip"
                ],
    firstSong : "Nhato - Miss You",
};

Settings object

See HuesSettings.ts for the possible options you can put into the defaults object.

Query string

Any setting that can go in the defaults object can also be dynamically specified in the URL. For example: http://0x40.mon.im/custom.html?packs=BIOS.zip,kitchen.zip&currentUI=v4.20

There are two special settings here:

  • firstSong can just be written as song.
  • Anything given as packs or respacks will be appended to the respacks specified in the defaults object, as opposed to overwriting them.

Building

Install Node.js. I used v16, but it should work with newer releases. Install the required packages for the build:

npm install

Build with npx webpack. It will create a dist folder. For seamless development with auto-reload, npx webpack serve - if you do this, put any respacks in public/respacks so they're found by the local server.

Adding a new beat character

There's a few places to change, here's a list:

  • The documentation in the INFO tab. Found in HuesInfo.svelte
  • The mouseover documentation & button for the beat in EDITOR. Found in HuesEditor/Main.svelte
  • The list of beats in HuesCore.ts
  • If you've added some new display behaviour:
    • A new beat type in the Effect enum
    • A handler in the beater function
    • Appropriate state for the effect in HuesRender.ts
    • Appropriate rendering code in HuesCanvas.ts

More Repositories

1

bad_apple_virus

Bad Apple using Windows windows
Rust
440
star
2

BemaniPatcher

Web based DLL binary patcher
HTML
216
star
3

PocketVoltex

A portable Cherry MX controller for KSM or SDVX
OpenSCAD
151
star
4

ifstools

Extractor for Konmai IFS files
Python
108
star
5

ifs_layeredfs

Live replace any file (including IFS contents) in Konmai games
C++
56
star
6

bigDecrypter

Decrypts Homeworld Remastered .big files into a usable format
C
40
star
7

SyncLoop

Frame perfect audio+animation sync. Like YTMND but better.
JavaScript
40
star
8

Arduino-HID-Lighting

So you don't need to do USB shenanigans
C++
37
star
9

kbinxml

Decoder/encoder for Konami's binary XML format
Python
36
star
10

2dxTools

Small tools to deal with 2dx audio container files
C
31
star
11

chuni_ac_3d_case

3D printed case for Chunithm arcade slider + airs
OpenSCAD
29
star
12

TataconUSB

A small dongle to connect your Wii taiko controller to your computer as a USB keyboard
C
26
star
13

sv3c_decrypt

Decrypt SDVX e-AMUSEMENT CLOUD game files
Python
24
star
14

Arduino-USB-Rename

Programatically rename a USB based Arduino
C++
23
star
15

SDVX-Song-Extractor

Make albums from games
Python
19
star
16

spice-drs-pad

Virtual DANCERUSH pad for Spicetools
JavaScript
17
star
17

s3p_extract

Extract Konmani s3p files
C
14
star
18

infinitas_decrypt

Decrypt IIDX Infinitas game files
Python
9
star
19

MagicBoxCrack

Crack and IO tooling for Magic Box, the Chinese jubeat clone
C++
9
star
20

evoluent_better_pcb

PCBs using better sensor for Evoluent VerticalMouse products
C++
7
star
21

din-time-pebble-hack

Make the DIN Time Pebble watchface use a new weather API
JavaScript
5
star
22

ddr_arc_extract

Extract files from DDRA archives
Python
5
star
23

DirectSound-BufPos-Retimer

Simulate perfect audio playback to fix some Windows XP games
C
3
star
24

avstack.py

avstack.pl ported to Python 3
Python
3
star
25

groove-coaster-genbu-better

Genbu's Groove Coaster ASC, but not terrible
C++
2
star
26

dbc_format

An opinionated DBC formatter
Python
1
star
27

mon.github.io

Github io page
JavaScript
1
star