tidalcycles / strudel

Web-based environment for live coding algorithmic patterns, incorporating a faithful port of TidalCycles to JavaScript
https://strudel.cc/
GNU Affero General Public License v3.0
643 stars 111 forks source link

chroma key mode for the repl #939

Open geikha opened 8 months ago

geikha commented 8 months ago

sometimes I do the following in Pulsar so that a visualist can project their visuals with my code on top (or use the code as part of the visuals) [you can send the same video signal of your screen through HDMI or NDI]

atom-text-editor span {
  background-color: black;
}

atom-text-editor {
 background-color: #0f0;
}

How can I do this in strudel? Maybe we could add a "chroma key mode" for these scenarios (line background turns to the actual theme's background, editor background goes #00ff00)

image


Good idea, this could just be a new theme. - @felixroos on Discord

Should it tho? What if you want to keep the text colors but just change the editor background as shown in the image?