HNHacker News
TopNewBestAskShowJobs

mfabbri77

218 karma · joined November 14, 2012

Founder at Mazatech, working on AmanithVG (www.amanithvg.com), a crossplatform OpenVG 1.1 implemantation, and AmanithSVG (www.amanithsvg.com), SVG rendering middleware available as unity plugin and standalone library.
submissionscomments
mfabbri77··on ChatGPT playing a not so simple game
To me, it feels more like a boardgame rulebook.
mfabbri77··on ChatGPT playing a not so simple game
Yes, of course, it's just a conversation model. It can't really understand the game logic, in the "human" sense.
mfabbri77··on ChatGPT playing a not so simple game
Yes it's really impressive. I've noticed that it stays more consistent if I ask it to automatically print the player's inventory on every command. I'm working on improving the prompt.
mfabbri77··on Open-source tabletop board game simulator
Mis-clicks can be handled with an "undo" function. I like to have the "undo" option available until my turn ends. But imho the system should allow only available and permitted moves at each turn.
mfabbri77··on Open-source tabletop board game simulator
Nice project, but I prefer to interact with boardgames using simple 2d interfaces and (most important) rules-enforcing.
mfabbri77··on TinyVG: A challenger to the throne of vector graphics
Tiger rendering issue: https://imgur.com/a/huaKQgk

Your effort to create a lightweight vector file format with these features is really appreciable, even if it can never replace SVG for the more general use case. Anyway the tiger has rendering problems (I am quite obsessed with this tiger: even my rasterizer initially did not draw it correctly).

Spoiler: I'm one of the developers of AmanithSVG - http://www.amanithsvg.com

mfabbri77··on Ask HN: Strategy games that positively push your cognitive boundaries?
1830 as many other 18xx series games. They are boardgames, but there exist an ancient msDos version of 1830, playable with dosbox. Really deep brain burner!
mfabbri77··on Amulet – a short poem with a lucky SHA-256 hash
I've found something:

«...i'm dancing in a nutshell»

https://opensea.io/assets/0x2a2127753653f6210d26f5b470738bf1... (EPIC)

We do not do it...

https://opensea.io/assets/0x2a2127753653f6210d26f5b470738bf1... (LEGENDARY)

mfabbri77··on Earth2.io HKSDN9BQFD
In case, use this code for a 5% discount: HKSDN9BQFD
mfabbri77··on Show HN: Game of Life in 32 bytes of assembler
10 years later, I wrote a fractal zoomer in asm, it was 399bytes, with a nice color palette.

https://www.pouet.net/prod.php?which=24447

mfabbri77··on Libschrift: A lightweight TrueType font rendering library
is there a small C library to read ttf glyphs geometry without the rendering part?
mfabbri77··on Stanford CS248: Implement an SVG Rasterizer
The name is AmanithVG and it is an implementation of OpenVG (a standard API for 2D vector graphics from Khronos group).
mfabbri77··on Stanford CS248: Implement an SVG Rasterizer
You can look at software rasterization from good opensource libs: Freetype, Agg, Cairo.
mfabbri77··on Stanford CS248: Implement an SVG Rasterizer
I've already implemented an SVG renderer at https://www.amanithsvg.com based on our openvg engine with software rasterization https://www.amanithvg.com

Both are closed source, but there are evaluation version available, if someone is interested in compare rendering quality and speed.

mfabbri77··on Galactic Algorithm
Fast and robust polygon triangulation was the hardest challenge in the period when we developed the OpenGL version of our 2D vector graphics engine (www.amanithvg.com), it was in the early 2000.

I clearly remember all such research papers. After studying all of them and after three complete rewrite of the engine, we finally implemented a classic 2 step algo: sweepline polygon decomposition to monotone polygons, and then monotone polygons to triangles.

We had really heavy headaches dealing with intersections, autointersections, splitting edges, comparing and merging original vertexes with vertexes created by splitting edges, managing edges connectivity and topology.

After some try, we totally discarded the idea to write it in floating point arithmetic, preferring fixed point integers instead (and this was a real turning point for the robustness!).

Anyway, good times to remember!

mfabbri77··on Why are 2D vector graphics so much harder than 3D?
I wrote a full OpenVG1.x on top of OpenGL|Es1.x (fixed pipeline) engine: https://www.amanithvg.com

"Curves to straight line segments" and "polygon to triangles" was done in CPU, everything else in GPU. It was the year 2005 or so.

mfabbri77··on Blend2D – 2D Vector Graphics Engine
Definitively, this.
mfabbri77··on Blend2D – 2D Vector Graphics Engine
Blend2D isn't a SVG rendering engine; maybe a SVG rendering engine can be built on top of Blend2D. But anyway SVG specifications are a hell (and these include a lot of features that are not related to the pure rendering). How do i know? I'm one of the developers of https://www.amanithsvg.com
mfabbri77··on Show HN: Open Source Suite for Binary Analysis, Based on QEmu and LLVM
È sempre bello vedere dei conterranei su HN! ;)
mfabbri77··on Ask HN: How do you manage your passwords?
https://bitwarden.com
mfabbri77··on App sizes are out of control
You are lucky: I know one because I wrote it! Take a look at: http://www.amanithsvg.com
mfabbri77··on App sizes are out of control
I was wondering why not use SVG (or any other vector file format) files and render all the graphic on the device, instead of including tons of PNG at various resolutions.
mfabbri77··on “We will stop updating and distributing the Flash Player at the end of 2020”
It would be cool to see the Adobe Flash 2D vector graphics engine opensourced, to perform comparisons with similar engine all around: Agg, AmanithVG, Blend2d, Cairo, NanoVg, Skia, ...
mfabbri77··on Cross-platform GUI Toolkit Trainwreck, 2016 Edition
In the past I wrote a cross-platform (it supports iOS, Android, and more esotic platforms, like QNX, even on exotic architectures like MIPS) 2D vector graphics rendering engine that implements the Khronos OpenVG 1.1 API (that includes text rendering too). It's lightweight, comes with pure software and opengl/es back-end, closed-source and not free; but if you want to take a look just for fun, full functional evaluation builds are available here for download: http://www.amanithvg.com
mfabbri77··on Efficient WebGL stroking
Other Stroke test (OpenVG API, but it's equivalent to Canvas2D) available here: http://www.mazatech.com/amanithvg/testsuite/amanithvg_sre/ht...
mfabbri77··on Efficient WebGL stroking
Please take this test ( this must be the result: http://www.amanithvg.com/screenshots/stroke_hot_case.png )

STROKE_LINE_WIDTH = 200 STROKE_CAP_STYLE = CAP_BUTT; STROKE_JOIN_STYLE = JOIN_ROUND; <identity transform matrix>

float xy[8]; int j = 0;

for (int i = 0; i < 4; ++i) { // x coordinate xy[j++] = 20.0f * (float)cos((i / 4.0f) * 1.7) + 128.0f; // y coordinate xy[j++] = 20.0f * (float)sin((i / 4.0f) * 1.7) + 128.0f; }

<draw stroked polygon whose points are the xy coordinates>

mfabbri77··on Google Maps now lets you find and catch wild Pokémon
https://www.war2map.com This is the most "complete" strategy game on Google Maps
mfabbri77··on Show HN: war2map.com mmo rts on Google maps
Thank You guys for the feedback. We'll definitively take a look to leaflet api soon; I know that google terms of use aren't good: pay for >25K loads/day for 3 consecutive months sound really scaring to me. In the other hands such limitation doesn't exist on mobile platforms (android/iOS), that are our final target.

Tutorials are under heavy development, with IA controlled troops too!

We are considering to make tax-office configurable in terms of payout time.

Good idea the universal radio tower!

The black square is the box in which You'll play, you'll receive updates from enemy troops and so on...

← PreviousPage 2 of 2