GithubHelp home page GithubHelp logo

[feature-request] zoom out about loopy HOT 9 CLOSED

ncase avatar ncase commented on July 22, 2024 4
[feature-request] zoom out

from loopy.

Comments (9)

1000i100 avatar 1000i100 commented on July 22, 2024 2

zoom finalized and camera mode added.

from loopy.

Seanny123 avatar Seanny123 commented on July 22, 2024 1

Being able to pan the canvas would probably also help with this.

from loopy.

1000i100 avatar 1000i100 commented on July 22, 2024 1

@xklech does actual zoom and move do the job for your use-case ?

@denistsoi if it does what you want, you probably can close the issue (even if it will not be merged here but still maintained in my fork).

from loopy.

ultimape avatar ultimape commented on July 22, 2024

This also would require a more effective saving mechanism as it quickly runs into the limits of how much data can be stored in the URL.

from loopy.

merspieler avatar merspieler commented on July 22, 2024

For data, which is too long for the URL (the max length is different in different browsers), the user could be prompted to copy a string out of a text field (like in cookie clicker) and to save it, e.g. in a text file, of let the user download a text file which he/she has to upload when loading again.

from loopy.

Ryuno-Ki avatar Ryuno-Ki commented on July 22, 2024

I wonder, whether createObjectURL would help here …

from loopy.

cbarina avatar cbarina commented on July 22, 2024

This also would help with longer text in the nodes - you can zoom in/out to read as some things need more than a word or two :)

from loopy.

xklech avatar xklech commented on July 22, 2024

@ncase We have quite big models we would like to persist and simulate and as stated in this issue area is too small.

What I was thinking about was to use something like http://ianli.github.io/jquery-infinite-drag/ or something similar so u can move around the model. I tried it but I somehow got stuck that I somehow got the feeling that almost everything is bound to Browser window size. Boundaries for canvas, etc.

Do you have please some advice about where to start looking? Or some other ideas about how to achieve bigger models now we have persistent storage possibility?

from loopy.

1000i100 avatar 1000i100 commented on July 22, 2024

I'm planning to improve it (zoom on mouse position), but you can now zoom in/out and pan in #20 : https://1000i100.github.io/loopy/2/

from loopy.

Related Issues (20)

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.