top | item 24748588

Javis v0.2 and the Future

50 points| wikunia | 5 years ago |opensourc.es | reply

9 comments

order
[+] misnome|5 years ago|reply
This is a misleading title, it looks more like a “what’s new” changelog than... “Build easy animations with Julia”. It even talks about tutorials they will write, in the future.

It’s actual title “Javis v0.2 and the Future” seems to more accurately describe its contents.

[+] dang|5 years ago|reply
Ok, we've changed the title from "Build easy animations with Julia". Thanks!

Submitters: please follow the site guidelines (https://news.ycombinator.com/newsguidelines.html). They include: "Please use the original title, unless it is misleading or linkbait; don't editorialize."

[+] wikunia|5 years ago|reply
Thanks for the comment. I struggled with giving it a title that fits and still shows outsiders what the package does. Now nobody knows what Javis is and maybe thinks it manipulates the future On my blog I attracted more the people who are already familiar with Julia and Javis.
[+] cbkeller|5 years ago|reply
For someone who's been following this only tangentially, how similar is the interface and implementation to what's used in Grant's https://github.com/3b1b/manim ?
[+] thecedarprince|5 years ago|reply
So, to give an example:

In manim, one could do something like this:

  from manimlib.imports import *

  class ReplacementTransformExhibit(Scene):
      def construct(self):
          square = Square().shift(LEFT)
          circle = Circle().shift(RIGHT)
          self.play(ReplacementTransform(square, circle))
To have a square morph to a circle. Currently in Javis, one could do something like this:

  using Javis
  
  astar(args...) = star(O, 50)
  acirc(args...) = circle(Point(100,100), 50)
  
  function ground(args...)
      background("white")
      sethue("black")
  end

  
  video = Video(500, 500)
  javis(video, [
      Action(1:100, ground),
      Action(1:50, morph(astar, acirc)),
      Action(51:100, morph(acirc, astar))
  ], creategif=true, tempdirectory="images",
      pathname="star2circle.gif", deletetemp=true)
As you can see, Javis is, at this stage, a little more verbose. However, for v0.3.0 we are moving away from Action syntax to something more generic and user friendly (this shift based on user feedback).
[+] zem|5 years ago|reply
this would be an excellent suite of animations to try to develop: https://en.wikipedia.org/wiki/User:LucasVB/Gallery

i started trying to build up a racket animation library to reproduce that gallery, but i didn't get very far.

[+] thecedarprince|5 years ago|reply
Hey zem,

Our goal is to rather become a generic package people can use to make whatever animation or visualization in whichever domain they see fit. We are slowly building out our own showcase of animations based on tutorials we provide the user (see link here for tutorials: https://wikunia.github.io/Javis.jl/stable/tutorials/)

We are also currently seeking contributions to our examples section here: https://wikunia.github.io/Javis.jl/stable/examples/ If you want to contribute, happy to support!