canvas
processing
Our great sponsors
canvas | processing | |
---|---|---|
9 | 455 | |
1,411 | 6,443 | |
- | 0.2% | |
9.0 | 0.0 | |
15 days ago | 3 months ago | |
Go | Java | |
MIT License | GNU General Public License v3.0 or later |
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.
canvas
-
Canvas vector graphics update: rich text and path boolean operation support
I wanted to share a recent large update to https://github.com/tdewolff/canvas, which is a vector graphics library written in Go to create images, PDFs, SVGs, OpenGL, etc. using vector drawing operations. Especially I wanted to show two new exciting features:
- Pixie – A full-featured 2D graphics library for Nim
-
Processing equivalent in GoLang
https://github.com/tdewolff/canvas/blob/master/examples/opengl/main.go can draw primitves but i think it would be a bit hard to do event based animation
-
tdewolff/canvas: vector graphics in Go (mayor update)
canvas has a focus on using state-of-the-art algorithms regarding numerical approximations, see https://github.com/tdewolff/canvas#articles for a list of publications used in this library
I see, you'd like to specify the exact output pixel size for the rasterizers? To be honest, the floats are being multiplied and rounded, so given a set of canvas dimensions in mm and a DPMM should be fine in your case. In any case, I've opened an issue to calculate the resulting DPMM automatically to get a certain pixel width and height: https://github.com/tdewolff/canvas/issues/78
Yes! See https://github.com/tdewolff/canvas/tree/master/examples/gonum-plot for an example using gonum-plot. You should be able to plug-and-play to use the canvas library!
processing
-
Let's compile like it's 1992
Would processing[0] be a good fit? It's designed to be easy to use and learn but powerful enough for professional use. Very quick to get cool stuff moving on a screen and the syntax is Java with a streamlined editing environment.
- VVVV – A Hybrid Visual/Textual Development Environment
- Random Animations
- Penrose – Penrose
-
Turbo Pascal Turns 40
Processing (P5) had this: you can select any string of text in its IDE anl search for it in the docs, and if it's one of the built-in functions or constants it will open the associated static html page that came installed with the software, so no internet nor server required. And despite being offline you can still navigate the docs too. This feels a lost basic skill in static site generation these days.
It was the only creative coding framework that had complete, offline documentation like that at the time I might add. OpenFrameworks is still mostly autogenerated stubs for example.
IMO it was one of the things that gave Processing an edge in educational contexts over all alternatives. I was pretty sad to see p5.js not fully continue that tradition and require that you go online to read the docs, and that it's not a static website but that text is rendered with javascript when you open it (still complete and with examples though).
- Što dati djetetu da uči/radi?
- Seeking After Effects Course Recommendations for Infographics and Math Animations (with Programming Background)
-
I am looking to learn java for 2d and 3d game development any good tutorials or sources for beginners who don't know anything
If you just want to learn some basics of game development and don't need fabulous performance, you can use the Processing (https://processing.org/) libraries with plain old Java.
-
Ask HN: How to teach a kid of 15 Linux and programming
> how do I get him learning programming in a fun way?
Processing / P5.js can be pretty fun to learn. You use a real programming language to create art and animations. With little code you can get a circle on the screen, then making it move, then following your mouse, then adding other shapes, then changing colour depending on some event… It’s conductive to experimentation and a way to gradually introduce concepts.
-
Java or C++ for game development?
Also consider: C+SDL!, Raylib(C), Processing(Java), a bunch of game frameworks in python...
What are some alternatives?
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
manim - A community-maintained Python framework for creating mathematical animations.
Pygame - 🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
kaboom.js - 💥 JavaScript game library
svgo - Go Language Library for SVG generation
gg - Go Graphics - 2D rendering in Go with a simple API.
openrndr - OPENRNDR. A Kotlin/JVM library for creative coding, real-time and interactive graphics
tiny-skia - A tiny Skia subset ported to Rust
love - LÖVE is an awesome 2D game framework for Lua.
generative-art-in-go - A companion source code repository to the book "Generative Art in Go"
go-cairo - Go binding for the cairo graphics library
Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser]