Giter VIP home page Giter VIP logo

Comments (6)

anvaka avatar anvaka commented on May 18, 2024

Thank you!

I like your website. I think we could add a special query string argument which would serve as a flag to hide all UI elements from the field play.

As for progressively randomizing - need to think more about it. Technically you could just have a list of nice looking vector fields and loop over it.

The equation randomizer in this repository is very naive and becomes repetitive after a while.

from fieldplay.

iangilman avatar iangilman commented on May 18, 2024

Awesome... Glad you like the idea!

I've been suggesting ui=0 as the UI-hiding query string param. I think it's reasonable that the randomizing could be triggered by the same param, since it's sort of a logical extension of not having UI.

I like the idea of doing the "randomization" for the passive mode with a list of nice looking settings (which could of course be shuffled). I imagine you've already collected a good number of them.

Do you want me to take a wack at getting this rolling, or is it something you want to do?

from fieldplay.

anvaka avatar anvaka commented on May 18, 2024

Please, feel free to try it. I'd still keep ui=0 separate from the code generation, to conform to single responsibility principle.

I was thinking about adding scripted support of field manipulation, where a single JSON file could define timeline of a field evolution. E.g.

evolution: [{
  time: timeOffsetInMilliseconds,
  state: object that defines application state (field, code settings, etc.)
}, {
  time: ...
  state: ...
}, {
  ...
}]

Maybe some elements of this timeline could trigger random function generation, and some elements would allow to route control to a given element (allowing loops). This is a long term feature, which would allow artists to script their fields.

from fieldplay.

iangilman avatar iangilman commented on May 18, 2024

Great! I've made a PR for ui=0. I'll make a second one for the "progressive" mode; any thoughts on what that url param should be called? Progressive? Random? Shuffle? Changing? :)

Also, the param could be a number of seconds rather than just a flag, so you can control how often it changes. changetime=60 for instance.

The scripting feature sounds cool! I guess this can be a first step towards that.

from fieldplay.

iangilman avatar iangilman commented on May 18, 2024

I guess this is well under way, so we can close this issue.

from fieldplay.

iangilman avatar iangilman commented on May 18, 2024

… And added!

http://www.artywidget.com/artwork/5a7f76ffcba62e0029f53498/

Thank you for working with me on this :-)

from fieldplay.

Related Issues (8)

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.