Git Product home page Git Product logo

Comments (3)

eunjongkim avatar eunjongkim commented on June 26, 2024

@SimonDanisch
I think what I need is the code for generating video that appears on this link (from time 6:05, cats changing color in time red and blue):
https://www.youtube.com/watch?v=hdCURYg05jE

That would be sufficient to see what I need.

from glvisualize.jl.

SimonDanisch avatar SimonDanisch commented on June 26, 2024

Does this work for you?:

using GLVisualize, Colors, GeometryTypes

w = glscreen()
time = bounce(linspace(0, 1, 100))
color = map(time) do t
    RGBA{Float32}(t, 1-t, 0, 1)
end
s = Sphere(Point3f0(0), 1f0)
mesh = GLNormalMesh(s)
_view(visualize(mesh, color = color))
@async renderloop(w)

Sorry the API is still awfull.. I promise to soon release Makie.jl with a much better API & documentation!

from glvisualize.jl.

eunjongkim avatar eunjongkim commented on June 26, 2024

Thanks. It works fine :-)

from glvisualize.jl.

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.