google / monster-mash Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
I'm not aware how much, or how easily or hard drawing tools are to integrate in a web based platform. But supposing there is the possibility of integrating this easily, or without much trouble, something that could help a lot it's if the drawing tool would have scissors smart selection alike capabilities, like many desktop softwares have like GIMP. In GIMP, when you select a shape with the scissors, the scissors smartly correct the mistakes you make when making the selection. In this tool, making mistakes in the selection is easy, and they lead to black areas/ spots in the 3d figures, which at least for newbies of 3D are hard to remove in Blender or other 3d softwares (and this tool with others is getting special attention among newbies of 3D)
It would be nice to record the stroke pressure of the designer, currently every line has the same thickness.
const int t = ceil(0.5 * thickness);
monster-mash/src/mypainter.cpp
Line 109 in 6467b2e
What would be the best way to approach this task? C++ or .js?
Would be great to have stepped instructions on how to compile this project.
I'll be trying to compile this myself (although I've never compiled a c++ project before), so will document my process as I go along.
Further down the line it would be great to have CI generated releases for supported platforms.
Is it possible to run MonsterMash not by sketching in the UI, but by uploading an image of drawn lines?
Running CMake on the src directory produces this output (on Mac OS):
CMake Error at CMakeLists.txt:85 (find_package):
By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2", but
CMake did not find one.
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
The instructions don't mention this; the only dependency mentioned is Triangle, which I've copied into the specified place.
I've made some tools like circle, pentagram, etc. but line, curve doesn't work well.
Goal
To input a sequence of shapes and export a sequence of meshes.
Motivation
Taking 2d animation from a different sources and get out meshes that look plausible would be very interesting!
Implementation
Ideally this should work on the command line, so Monster Mash can be a background tool in a pipeline.
Is it possible to save the page as an Desktop Html page App.
to Building on Linux with a mac is just to much !
Thanks for the great app anyway.
Seems quite fixed at this ratio. Any way to change it to square or portrait? Thanks.
Is it possible to run the monster mash tool without using the web-ui?
I finally I got it compiled, but all it opens is a grey screen which says: "Monster Mash: New Sketch-based Modeling and animation tool", and it hangs in there. Any ideas what could it be?
I'm getting this error when installing. Not sure if it's an error in the steps of the installation or a result of my lack of knowledge in Linux. Installed Linux in Virtualbox to try the program.
Cmake error at CmakeLists.txt
The Cmake_C Compiler.
Path_to_emsdk/upstream/emscripten/emcc
is not a full path and was not found in path
Tell Cmake where to find the compiler by setting
either the enviroment variable "CC" or the Cmake
cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in
the PATH.
It is possible to use segmentation masks to draw boundary before 'inflating'?
Motivation
This was mentioned on the 2 minute paper video; https://www.youtube.com/watch?v=-Ny-p-CHNyM&lc=UgwGk_I_wLs7R0NSM2N4AaABAg
Thought that was a good idea, so this is to serve a discussion for making a blender plugin.
Implementation
It might not be possible to mirror all the functionality of Monster-Mash, because the Blender plugin framework only supports Python.
We could possibly make platform specific executables that accept command line input and output, so we can get results from Monster-Mash with Python.
When the site is not rated it says not secure and you cant use it in school i would be very happy if you can rate the site
lots of errors like this:
home/joelm/src/monster-mash/src/../third_party/tinygltf/tiny_gltf.h:895:47: error: ‘uint32_t’ does not name a type
895 | GetComponentSizeInBytes(static_cast<uint32_t>(componentType));
| ^~~~~~~~
/home/joelm/src/monster-mash/src/../third_party/tinygltf/tiny_gltf.h:895:47: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/joelm/src/monster-mash/src/../third_party/tinygltf/tiny_gltf.h:895:71: error: ‘tinygltf::GetComponentSizeInBytes’ cannot be used as a function
895 | GetComponentSizeInBytes(static_cast<uint32_t>(componentType));
| ^
/home/joelm/src/monster-mash/src/../third_party/tinygltf/tiny_gltf.h:900:42: error: ‘uint32_t’ was not declared in this scope; did you mean ‘ImageExternal::uint32_t’?
900 | if ((bufferViewObject.byteStride % uint32_t(componentSizeInBytes)) != 0) {
| ^~~~~~~~
| ImageExternal::uint32_t
/usr/include/bits/stdint-uintn.h:26:20: note: ‘ImageExternal::uint32_t’ declared here
26 | typedef __uint32_t uint32_t;
| ^~~~~~~~
In file included from /home/joelm/src/monster-mash/src/../third_party/eigen3/Eigen/Core:367,
from /home/joelm/src/monster-mash/src/exportgltf.h:21:
/home/joelm/src/monster-mash/src/../third_party/eigen3/Eigen/src/Core/util/Meta.h: At global scope:
/home/joelm/src/monster-mash/src/../third_party/eigen3/Eigen/src/Core/util/Meta.h:547:14: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘int32_t’?
547 | typedef std::uint32_t uint32_t;
| ^~~~~~~~
| int32_t
/home/joelm/src/monster-mash/src/../third_party/eigen3/Eigen/src/Core/util/Meta.h:549:14: error: ‘uint64_t’ in namespace ‘std’ does not name a type; did you mean ‘int64_t’?
549 | typedef std::uint64_t uint64_t;
| ^~~~~~~~
| int64_t
make[2]: *** [CMakeFiles/monstermash.dir/build.make:205: CMakeFiles/monstermash.dir/exportgltf.cpp.o] Error 1
make[2]: Leaving directory '/home/joelm/src/monster-mash/.build/Release'
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/monstermash.dir/all] Error 2
make[1]: Leaving directory '/home/joelm/src/monster-mash/.build/Release'
make: *** [Makefile:94: all] Error 2
Hello, I hope I'm posting in the right place.
Thank you for this great program! the demo is amazing!
I tried installing it on ubuntu 20.04, with the latest nvidia driver to date (460.67),
it compiled well, but when trying to run it says:
GL version: 4.6.0 NVIDIA 460.67
X Error of failed request: GLXBadDrawable
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 273
Current serial number in output stream: 273
when I tried running it with the default driver nouveau, it runs,
but without any buttons. unless its supposed to be like that and only use keyboard shortcuts?
but I can't use this driver with my gpu and screen, so I had to go back to Nvidia's.
any idea how to solve this GLXBadDrawable error? maybe I need to compile the driver with a specific parameter? I couldn't find a solution for this.
Thank you very much!
https://monstermash.zone doesn't work
Hello,
I am trying to sync it up with some music (:
Wondering on the JS side if it is possible to get the current playback frame, as well as set the playback frame.
I see _getNumberOfAnimationFrames but no luck yet having control of the playback position.
Thanks!
The web demo got an awesome update to create layers from a mask images back on August 28, 2022, but it seems like this update hasn't been open sourced here yet. It would be wonderful if it was!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.