prima VS manim

Compare prima vs manim and see what are their differences.

prima

PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell. (by libprima)

manim

A community-maintained Python framework for creating mathematical animations. (by ManimCommunity)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
prima manim
13 152
275 18,999
4.0% 5.3%
9.9 9.1
5 days ago 7 days ago
Fortran Python
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

prima

Posts with mentions or reviews of prima. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • Prima has got a Python interface
    3 projects | news.ycombinator.com | 3 May 2024
    The developer of PRIMA here.

    If you use method "cobyla" from scipy.optimize.minimize, then PRIMA already performs far better (in terms of the number of function evaluations). See the comparison at https://github.com/libprima/prima#improvements .

    The bugs are indeed only a secondary reason: they can only be triggered under special situations. They may not affect your usage at all (when it does affect you, the consequence is catastrophophic).

  • Nagfor supports half-precision floating-point numbers
    1 project | news.ycombinator.com | 6 Mar 2024
    1. nagfor Release 7.1(Hanzomon) Build 7149 released on March 5, 2024, fixed all the bugs spotted, but introduced an ICE when compiling PRIMA ( http://www.libprima.net ). The ICE has nothing to do with half-precision real, because it occurs when PRIMA is configured to use single or double precision. It can be reproduced by

    ```

    git clone https://github.com/libprima/prima.git && cd prima && git checkout ec42cb0 && cd fortran/examples/lincoa && make ntest

    ```

    2. nagfor 7.2 released on 6 March, 2024 included neither the ICE nor the fixes for the bugs.

  • PRIMA: Solving general nonlinear optimization problems without derivatives
    1 project | news.ycombinator.com | 28 Feb 2024
  • What are you rewriting in rust?
    36 projects | /r/rust | 10 Jul 2023
    My goal is to rewrite this library for derivative-free optimization: https://github.com/libprima/prima
  • SciPy: Interested in adopting PRIMA, but little appetite for more Fortran code
    8 projects | news.ycombinator.com | 18 May 2023
    A native port is indeed planned. However, since we are talking about a project of about 10K lines of code, such a port will not be delivered very soon.

    In fact, native implementations of PRIMA in Python, MATLAB, C++, Julia, and R will all be done in the future. See https://github.com/libprima/prima#other-languages . But it takes time. PRIMA has been a one-man project since it started three yearss ago. Community help is greatly needed.

    Thanks.

  • Optimization Without Using Derivatives: the PRIMA Package, its Fortran Implementation, and Its Inclusion in SciPy - Announcements
    1 project | /r/programming | 17 May 2023
    GitHub repo of the project: https://github.com/libprima/prima
  • Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy
    8 projects | news.ycombinator.com | 16 May 2023
    It sounds like this was a difficult task. The motivation to fulfill Prof. Powell's request and help the community of derivative-free optimization users must have been strong. Congratulations on your achievement!

    From the GitHub README:

    > In the past years, while working on PRIMA, I have spotted a dozen of bugs in reputable Fortran compilers and two bugs in MATLAB. Each of them represents days of bitter debugging, which finally led to the conclusion that it was not a problem in my code but a flaw in the Fortran compilers or in MATLAB. From a very unusual angle, this reflects how intensive the coding has been.

    > The bitterness behind this "fun" fact is exactly why I work on PRIMA: I hope that all the frustrations that I have experienced will not happen to any user of Powell's methods anymore. I hope I am the last one in the world to decode a maze of 244 GOTOs in 7939 lines of Fortran 77 code — I have been doing this for three years and I do not want anyone else to do it again.

    https://github.com/libprima/prima#a-fun-fact

  • Optimization Without Using Derivatives
    2 projects | news.ycombinator.com | 21 Apr 2023

manim

Posts with mentions or reviews of manim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-14.
  • A Rigorous Derivation of the Bubble Sort Curve
    1 project | news.ycombinator.com | 24 Apr 2024
  • 3Blue1Brown: Visualizing Attention, a Transformer's Heart
    3 projects | news.ycombinator.com | 14 Apr 2024
    Also check out community edition: https://www.manim.community
  • This Week In Python
    5 projects | dev.to | 5 Apr 2024
    manim – A community-maintained Python framework for creating mathematical animations
  • I'm new to try manim and it met some questions TypeError: __init__() got an unexpected keyword argument 'line_join'
    2 projects | /r/manim | 8 Dec 2023
  • Old blog of Matt Henderson, beautiful math animations
    2 projects | news.ycombinator.com | 5 Dec 2023
    I recently wanted to make something similar and I completely fell in love with https://www.manim.community/ created by 3B1B.
  • Animated AI
    4 projects | news.ycombinator.com | 25 Oct 2023
  • Text-to-CAD: Risks and Opportunities
    12 projects | news.ycombinator.com | 19 Oct 2023
    https://github.com/gumyr/build123d :

    > Build123d is a python-based, parametric, boundary representation (BREP) modeling framework for 2D and 3D CAD. It's built on the Open Cascade geometric kernel and allows for the creation of complex models using a simple and intuitive python syntax. Build123d can be used to create models for 3D printing, CNC machining, laser cutting, and other manufacturing processes. Models can be exported to a wide variety of popular CAD tools such as FreeCAD and SolidWorks.

    > Build123d could be considered as an evolution of CadQuery where the somewhat restrictive Fluent API (method chaining) is replaced with stateful context managers* - e.g. with blocks - thus enabling the full python toolbox: for loops, references to objects, object sorting and filtering, etc.*

    "Build123d: A Python CAD programming library" (2023) https://news.ycombinator.com/item?id=37576296

    BREP: Boundary representation: https://en.wikipedia.org/wiki/Boundary_representation

    Manim, Blender, PhysX, o3de, [FEM, CFD, [thermal, fluidic,] engineering]: https://github.com/ManimCommunity/manim/issues/3362

    NURBS: Non-Uniform Rational B-Splines: https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline

    NURBS for COMPAS: https://github.com/gramaziokohler/compas_nurbs :

    > This package is inspired by the NURBS-Python package, however uses a NumPy-based backend for better performance.

    > Curve, and Surface are non-uniform non-rational B-Spline geometries (NUBS), RationalCurve, and RationalSurface are non-uniform rational B-Spline Geometries (NURBS). They all built upon the class BSpline. Coordinates have to be in 3D space (x, y, z)

    test_curve.py, test_surface.py

    https://github.com/compas-dev

    compas_rhino, compas_blender

    Blender docs > Modeling Surfaces; NURBs implementation, limits, challenges:

  • Ask HN: What would you show an interviewer if they asked you for code samples?
    2 projects | news.ycombinator.com | 4 Sep 2023
    A template language that I wrote for generating HTML. Meant to be included as a C++ library. https://github.com/Ghoti-io/Tang

    Plenty of other C++ code of mine is on Github (such as a bunch of utility stuff, a thread pool, and a HTTP server that I'm writing from scratch), even though I would only call myself an intermediate C++ programmer. I just happen to like the language.

    Or, if I had to throw other stuff into the mix, a fairly recent patch to Manim (Python) that got accepted (https://github.com/ManimCommunity/manim/pull/3155).

    If I were really pressed, I would dig up a lot of my Drupal (PHP) stuff that I did years ago.

  • What are you rewriting in rust?
    36 projects | /r/rust | 10 Jul 2023
    I would love to have this https://github.com/manimCommunity/manim written in Rust. There have been previous attempts (bevy_manim and another one using nannou) but all of them are outdated
  • Ask HN: What packages can be used to create interactive mathematics simulations?
    5 projects | news.ycombinator.com | 5 Jul 2023

What are some alternatives?

When comparing prima and manim you can also consider the following projects:

solid-docs - Cumulative documentation for SolidJS and related packages.

Javis.jl - Julia Animations and Visualizations

stdlib - Fortran Standard Library

processing - Source code for the Processing Core and Development Environment (PDE)

pybobyqa - Python-based Derivative-Free Optimization with Bound Constraints

cheatsheets - Official Matplotlib cheat sheets

Optimization-Codes-by-ChatGPT - numerical optimization subroutines in Fortran generated by ChatGPT-4

python_turtle_art - Using Python Turtle module to draw this masterpiece - a combination of 2D geometry, Pop Art and Coding

inox2d - Native Rust reimplementation of Inochi2D

p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —

OfficerBreaker - OOXML password remover

geogebra - GeoGebra apps (mirror)