Giter Site home page Giter Site logo

joukkue's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ My last project โ˜๏ธ is called A life cycle : https://vimeo.com/845233469.
  • ๐Ÿ˜„ Pronouns: he/him.
  • #๏ธโƒฃ Tags: generative, algorithmic, art, sonification, visualization, 2D, 3D, graphics, interactive, installation.
  • ๐Ÿ”จ Tools: OPENRNDR, Processing, three.js, pixi.js, openFrameworks, SuperCollider, GNU/Linux.
  • ๐Ÿ’ฌ Languages: Kotlin, GLSL, Java, C++, JavaScript.

My Patreon, Mastodon, Homepage and a mailing list to hear about my art projects.

NOTE: I'm migrating my repositories to https://codeberg.org/hamoid/ so you know where to look if something disappears from here. I should have done this when Micro$oft bought GitHub, but better late than never.

joukkue's People

Contributors

hamoid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

joukkue's Issues

Allow syncing noiseSeed, randomSeed

It might allow getting the same random values in all clients.

Maybe it's not important. Some uniqueness in the graphics may push people to show and compare their screens.

Maybe it's impossible or very hard to get all clients to render the same graphics anyway.

In vars, evaluate only the selection, but send complete code

Send the selection when evaluating 'vars'. This would allow to update just one var, even if the whole vars object is sent and stored (for new comers).

Sample selections

{ x:1, **y:100** }
{ x:1, **y:100, z:100** }
{ x:1, y: { **a:1**, b:1 } } //nested is a problem
{ x:1, y: [ **2, 4, 5** ] } // nested is a problem

How to process the selection? We could check that the selection is not nested inside any kind of braces.

To keep it simple, I would just evaluate simple, non-nested assignments, like a:100.

When evaluating, wrap the selection with { and }, assign it to a variable, then scan the variable for properties, and assign those properties for vars.

  1. vars is { x:1, y:100, z:100 }
  2. construct "var temp = { y:100, z:100 }"
  3. for(var i in temp) { vars[i] = temp[i] }

Not sure how much sense it makes in 'draw'. On one hand, one could evaluate commented code. But that causes problems for people arriving late to the party, as that code would not be evaluated.

Tasks I kept in README before GitHub

done

  • Save layers on server to database on disk
  • When entering the chat room, send all layers in that room
  • Give automatic name to user, allow renaming
    • Create name generator
  • Show chat in GUI
  • Show layer crashes in chat.
  • Chat, highlight on focus.
  • Implement: .who .where .help .room .new
  • ESC toggle between edit/chat
  • On cell focus, restore selection
  • On cell blur, store selection
  • Scroll to bottom when editing last field
  • On cell blur, highlight border (used by .on, .off, .delete ...)
  • Implement .on .off commands and css
  • Implement .delete .rooms
  • Implement .name
  • Flash received cell
  • When we receive vars|draw, do not overwrite them with a function|obj, but keep html version to be able to undo and to compare current html with the received html. Create drawFunc|varsObj instead.
  • implement .revert alt+r
  • when we receive vars, draw, update original html. if current==original, change too, otherwise orange border (conflict)
  • add 'crashed' style to td
  • try evaling before sending (no point sending broken code)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.