@bitbybit-dev/base
TypeScript icon, indicating that this package has built-in type declarations

0.19.3 • Public • Published

Bit By Bit Developers Base Algorithms for CAD library

Visit bitbybit.dev to use our full cloud platform.
Best way to support us - Silver or Gold plan subscription
Check out 3D Bits app for Shopify

Picture showing bitbybit.dev platform

This package contains base algorithms for our CAD platform. It has various helper functions for math, text, lists, vectors, matrix operations. It also contains some base types used accross bitbybit.dev platform on higher levels. This layer should be kept as lightweight as possible and ideally not contain any third-party dependencies as they just add to the weight and complexity.

This package is already used or will be used in these packages:

@bitbybit-dev/babylonjs
@bitbybit-dev/threejs
@bitbybit-dev/core
@bitbybit-dev/jscad
@bitbybit-dev/jscad-worker
@bitbybit-dev/manifold
@bitbybit-dev/manifold-worker
@bitbybit-dev/occt
@bitbybit-dev/occt-worker
@bitbybit-dev/base

This package should work in Node and browser based applications and should provide generic layer which could be helpful to all higher-level CAD algorithms and kernels. Algorithms of this base layer are also exposed on our bitbybit.dev Rete, Blockly & Monaco editors.

Github

https://github.com/bitbybit-dev/bitbybit/tree/master/packages/dev/base

NPM

https://www.npmjs.com/package/@bitbybit-dev/base

THREEJS Example Applications

Vase
https://app-store.bitbybit.dev/vase
Github Source Code - https://github.com/bitbybit-dev/app-examples/tree/main/react/threejs/vase

Other Example Applications

Laptop Holder
https://app-store.bitbybit.dev/laptop-holder
Github Source Code Angular - https://github.com/bitbybit-dev/app-examples/tree/main/angular/laptop-holder
Github Source Code React - https://github.com/bitbybit-dev/app-examples/tree/main/react/laptop-holder

Cup Configurator
https://app-store.bitbybit.dev/cup Github Source Code - https://github.com/bitbybit-dev/app-examples/tree/main/react/cup

Closed Source Example Applications

https://app-store.bitbybit.dev/terrace-furniture

Build package

npm run build-p

Run unit tests and generate test coverage

npm run test-c

Run live unit tests and generate test coverage on save

npm run test-c-l

Unit test coverage report online

https://tests.bitbybit.dev/threejs

Media Channels

Discord: https://discord.gg/GSe3VMe
Youtube: https://www.youtube.com/@bitbybitdev?sub_confirmation=1
Instagram: https://www.instagram.com/bitbybit.dev
Twitter: https://twitter.com/bitbybit_dev
LinkedIn: https://lnkd.in/gQjEQA2
Facebook: https://www.facebook.com/bitbybitdev
Medium: https://bitbybit-dev.medium.com/

Principles

Bit By Bit Developers company will keep these core algorithms that you can find in this repository free and opensource for its users. These algorithms are based on other open-source projects, run and are deployed on the browser, thus there is no point of closing them down from public.

About Bit By Bit Developers platform

Bit By Bit Developers web platform allows creators to program geometry through simple visual programming language or choose monaco typescript editor with full intellisense of bitbybit API. This cloud platform can fulfil many practical, educational and artistic needs of its users. Through familiar programming interface used in tools such as Scratch and Blockly.Games we expose powerful 3D algorithms that make it easier to implement various parametric tasks. Our goal is to make it very simple for users to share their ideas and designs. We want to encourage everyone to engage in the future of this tool.

/@bitbybit-dev/base/

    Package Sidebar

    Install

    npm i @bitbybit-dev/base

    Weekly Downloads

    4

    Version

    0.19.3

    License

    MIT

    Unpacked Size

    284 kB

    Total Files

    53

    Last publish

    Collaborators

    • matas-u