schalkt / tgen Goto Github PK
View Code? Open in Web Editor NEWSeamless texture generator in javascript
Home Page: http://texture-generator.com/generator/demo
License: MIT License
Seamless texture generator in javascript
Home Page: http://texture-generator.com/generator/demo
License: MIT License
Hello, How would I go about adding this to a wordpress website or anywebsite so that it chooses the background with the preset made from your website?
Lines 306 to 322 in 712368f
tgen-generator.js:316 Uncaught ReferenceError: mul is not defined
Just wondering if I'm free to use these textures from student and commercial projects?
I really love the program btw, excited for the new site!
Hi I like your generator and would like to use it for one of my projects! I'm trying to generate a basic checkerboard pattern using your "checkerboards" preset and deleting all but one of the items. However I'd like to change control both the colors, like an orange/blue pattern, rather than have one of the squares black. I tried looking through the source code but couldn't figure out how to modify it to make this happen. Do you have any suggestions?
I'm trying to build a seamlessly scrolling background to simulate a river flowing from right to left. What I've got working is in this Codepen, but I suspect a solid water-like background would give a much better illusion of motion. How could I use tgen to achieve that?
Is there any way to remove randomization seed for testing purposes.
I'm new to texture generation, so pardon my ignorance. While running the same code in the README several times, one of the generated textures seemed like a good fit for my project (#1). Is there an introspection API call to get some sort of ID of that texture, that would make it possible to reproduce it in the future, or at least within some parameters, e.g. dominant color?
Thanks for the great work. Awesome tool. Can we currently create a seamless texture using a source image? From a URL, canvas, or otherwise?
I'd like to use tgen textures as sprite textures in PIXI. Possible?
First off, I have no idea why this project isn't more popular. The results I'm getting are amazing. Small issue:
I do js debugging through the console and the performance console.log() lines triggered by events in tgen-events.js are a little frustrating to wade through after a while. I'm putting this to block them:
tgen.event('beforeEffect', 'save start time', function ($g, effect) {});
tgen.event('afterEffect', 'log', function ($g, effect) {});
tgen.event('beforeRender', 'log', function ($g, params) {});
tgen.event('afterRender', 'log', function ($g, params) {});
Any chance you can add something where you turn on the events only when you need to see them?
Thank you!
This is cool, but without a documentation of the functions, the names of the input parameters, the general syntax / logic of the scripts etc. it is very hard to use the generator... A small help / wiki page would probably already be sufficient and make the process so less frustrating.
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.