Giter Site home page Giter Site logo

ofelia-fast-prototyping's People

Contributors

60-hz 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

Watchers

 avatar  avatar  avatar

ofelia-fast-prototyping's Issues

Lighting abstractions: Initialization bug

In pointlight, spotlight, and the other similar light sources, I get an error about accessing a nil item when creating an instance.

It looks like M.setup() is called at least once before the window is created. At that time, the setup function won't create the ofLight object -- but then its logic is of the form:

  • If the window exists:
    • Then create the window and set some properties.
  • Always set the abstraction's user facing parameters -- and these functions set properties of the ofLight object (which may not exist if the window didn't exist -- here's the error).

I can think of two solutions:

  • Move the parameter-setting functions into the if block, not outside.
  • Or, guarantee that the setup function will not fire until the window is ready.

In my revisions, I did the first. If the second is better, that would be ok too.

menubar of [of.window]

hello. are there any ways to disappear the menubar of [of.window], like [border 0] from [gemwin]?

Image data manipulation

Currently, [gl.image] both loads and draws the image data.

This makes it impossible to do anything other than display the image directly. (Well, of course [ofelia] can handle all the requirements, but in this case, it would mean re-implementing all of the plumbing -- the whole point of the abstractions is so that the user doesn't have to rewrite the Lua code to load and manage image data.)

So it makes me think about what would be the best way to modularize.

Perhaps [gl.image path pdname] --> do stuff --> [gl.useImage pdname] --> [gl.plane]? That is, let the user decide the name under which the image data will be accessible, and then you can interpolate any number of other objects in between the image loader and the image draw-er.

Or maybe there's another way that is more idiomatic.

stuck after opening fullscreen

hello. after turn on fullscreen via [fullscreen 1(-[oF.window], literally I'm stuck at the fullscreen window. I even can't escape with Alt+Tab. It hides every window even including the task manager too. so I can't get out to patch window nor task manager to close the oF.window, and had to hard shut down the computer unless I make the escape button via keyboard triggering or something. could you fix this so that at least I can escape with Alt+Tab? as the original [oFwindow] object does? I'm working at Windows 10, Pd 0.51-4, and the latest ver. of oFelia and o-F-P. thanks in advance

2021-12-20.21-12-40.mp4

.

volume in [of.movie]

hello. can [of.movie] make sound of the video as well? I read the help file of it, but I'm afraid that I couldn't understand about the role of [volume $1(

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.